feat: log raw MQ body after dedup

Keep the original payload on post-dedup handling logs so accepted, filtered, and error paths can be traced.
This commit is contained in:
2026-08-15 17:37:14 +08:00
parent 6f846a0a3c
commit ab295d6d28
2 changed files with 17 additions and 5 deletions
+2
View File
@@ -121,6 +121,8 @@ func (s *Subscriber) handleDelivery(ch *amqp.Channel, d amqp.Delivery) {
disp := HandleMessage(context.Background(), HandleInput{
Body: d.Body,
Headers: map[string]any(d.Headers),
Name: s.cfg.Name,
Queue: s.cfg.Queue,
SourceName: s.cfg.Source,
MaxRetry: s.cfg.MaxRetry,
Deduper: s.deduper,