How Masstransit deals with slow consumer

37 views
Skip to first unread message

janardh...@gmail.com

unread,
Aug 25, 2020, 7:28:43 PM8/25/20
to masstransit-discuss
Hi,

I am using Masstransit 7.0.0 with consumer to process the messages from RabbitMQ. I have observed when the consumer is slow processing the message or when I put the debug point in visual studio for consumer, after some time my consumer receives the message again. My assumption is Masstransit thought consumer crashed and sent the message again.

In my case, my consumer is some times slow processing the message as it talks to external endpoints but the processing is around 30-40 seconds and not minutes.

Could you please explain How masstransit knows the consumer is crashed( or whatever it is) to resend the message? If it waits for certain amount of time waiting for ack, then Is there setting anywhere just to increase this time little bit specific to queue/consumer?

Thanks

Reply all
Reply to author
Forward
0 new messages