Repository navigation
Conversation
ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughA Dead-Letter Queue (DLQ) feature was added: new DLQ environment variables, a new Changes
Sequence DiagramsequenceDiagram
participant EventConsumer
participant RecordHandler
participant DLQProducer
participant Redpanda
EventConsumer->>RecordHandler: process incoming record
RecordHandler->>RecordHandler: attempt unmarshal
alt Unmarshal succeeds
RecordHandler->>EventConsumer: append parsed event to batch
else Unmarshal fails
RecordHandler->>DLQProducer: ProduceSync(ctx, key, value, headers)
DLQProducer->>DLQProducer: clone headers and build DLQ record
DLQProducer->>Redpanda: sync produce DLQ record
Redpanda-->>DLQProducer: ack / error
alt Produce success
DLQProducer-->>RecordHandler: success
RecordHandler->>EventConsumer: continue (skip record)
else Produce failure
DLQProducer-->>RecordHandler: error
RecordHandler-->>EventConsumer: return error (stop batch)
end
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes Poem
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
|



Summary by CodeRabbit
New Features
Refactor
Tests
Chores