rebus-org / Rebus.RabbitMq

:bus: RabbitMQ transport for Rebus
https://mookid.dk/category/rebus
Other
62 stars 44 forks source link

Exception header can become too large for rabbit to receive #82

Closed zlepper closed 3 years ago

zlepper commented 3 years ago

The headers in rabbitmq has a length limit of 131072 bytes.

If the header becomes bigger than that, rabbit starts rejecting the message, which means rebus cannot move the message to the error queue, and then just starts going ham retrying it.

I'm working on a fix, but i'm not sure just chopping the end of the header of is the best way to go about it.