Prefetch and consumer acknowledgement timeout #7250
-
Hi, I have the following scenario: Delivery acknowledgement is enabled.
This is giving me timeout : Channel 'ERP(1)' shutdown: 406. PRECONDITION_FAILED - delivery acknowledgement on channel 1 timed out. Timeout value used: 1800000 ms. This timeout value can be configured, see consumers doc guide to learn more The timeout of the last message is taking into account the time to confirm the previous messages? I don't know if this is a bug or if its the desired behaviour. Regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
You ask for 60 messages and it takes ~2 minutes to process a single message, so after 30 minutes, you hit the timeout, because you still haven't confirmed ~45 messages. If it takes 2 minutes to process a message, I see no reason for prefetch larger than 1 or 2. |
Beta Was this translation helpful? Give feedback.
You ask for 60 messages and it takes ~2 minutes to process a single message, so after 30 minutes, you hit the timeout, because you still haven't confirmed ~45 messages. If it takes 2 minutes to process a message, I see no reason for prefetch larger than 1 or 2.