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:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user