feat: wire NATS event publisher into bootstrap + worker

- Both binaries connect to NATS on startup, ensure JetStream stream
- EventPublisherAdapter<NatsTransport> replaces LogEventPublisher
- nats_url config with default nats://localhost:4222
- Deleted bootstrap's LogEventPublisher (no longer needed)
This commit is contained in:
2026-05-31 11:53:51 +02:00
parent 0e9911ebfc
commit 838ed9a3f8
11 changed files with 35 additions and 36 deletions

View File

@@ -11,8 +11,11 @@ path = "src/main.rs"
domain = { workspace = true }
application = { workspace = true }
adapters-postgres = { path = "../adapters/postgres" }
adapters-storage = { workspace = true }
adapters-postgres = { path = "../adapters/postgres" }
adapters-storage = { workspace = true }
adapters-nats = { workspace = true }
event-transport = { workspace = true }
async-nats = { workspace = true }
tokio = { workspace = true }
anyhow = { workspace = true }