Skip to content

How to make RabbitMq.Client resilient? #1812

Closed Answered by lukebakken
alrz asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, thanks for using RabbitMQ and this library.

Your discussion is very general. If you have specific issues, or suggestions, please list them. Otherwise, there's not much I can do with it.

For instance, IIRC the channel closes when the consumer takes too long.

Yes, this is a RabbitMQ feature. Consumers are not allowed to "hang onto" messages past the consumer timeout interval. This is to prevent excessive disk usage. If your applications time out in this manner, it is indicative of a bug, or that you need to re-think how your applications consume messages.

Autorecovery does address this to some extent but I think there's still failure points that need to be handled explicitly

Ther…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by alrz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants