Tracking message-id and delivertag in Rabbit EventBus implementation
Open
- Dominant language
- C#
- Stars
- 10.9k
- Forks
- 3.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 4
Description
Hi All,
I know that EventBUS is an abstraction, and currently 2 implementations are supported Azure,RabbitMQ
regarding rabbitmq class [RabbitMQEventBus.cs](https://github.com/dotnet/eShop/blob/main/src/EventBusRabbitMQ/RabbitMQEventBus.cs
)
there are a couple of property that are very usefull to be tracked by the logger.logtrace
- delivery tag (internal number generated by rabbit client)
> - ` var deliveryTag = channel.NextPublishSeqNo;`
- properties.messageId (that could be set just to event.Id)
Registering these 2 properties in logtrace allows you to diagnose some annoying network error in /var/log/rabbitmq
Ciao
Diego
Contributor guide
Assessment
This issue has not been assessed yet.