nats adapter

This commit is contained in:
2026-05-10 13:42:28 +02:00
parent 05b44e17a1
commit 8678bbf391
20 changed files with 1078 additions and 37 deletions

View File

@@ -20,7 +20,10 @@ impl WorkerService {
let mut stream = self.consumer.consume();
while let Some(result) = stream.next().await {
match result {
Ok(envelope) => self.dispatch(envelope).await,
Ok(envelope) => {
tracing::info!(event = ?envelope.event, "received event");
self.dispatch(envelope).await;
}
Err(e) => tracing::error!("event consumer error: {e}"),
}
}