Implications of changing the channel-tick-interval setting to something shorter than 60 seconds #14092
-
Community Support Policy
RabbitMQ version used4.1.1 Erlang version used27.3.x Operating system (distribution) usedLinux How is RabbitMQ deployed?Community Docker image rabbitmq-diagnostics status outputnot required. Logs from node 1 (with sensitive values edited out)not required. Logs from node 2 (if applicable, with sensitive values edited out)No response Logs from node 3 (if applicable, with sensitive values edited out)No response rabbitmq.confnot required. Steps to deploy RabbitMQ clusterWe use the RabbitMQ K8S operator CRDs Steps to reproduce the behavior in questionnot required. advanced.config[{rabbit, [ {channel_tick_interval, 1000} ]}]. Application codeNo response Kubernetes deployment fileNo response What problem are you trying to solve?We are trying to reduce the ack timeout to something lower than a minute. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@victorarbuesmallada going below a minute doesn't make much sense, not just because certain parts of channel state are only evaluated once a minute but also because the delivery acknowledgement timeout feature, as the docs explain, is a server protection mechanism, not a way to manage your consumers. If you want your consumers to report an error if processing takes more than, say, 30 seconds, you have to do it in your own code, and report relevant metrics as you see fit. |
Beta Was this translation helpful? Give feedback.
@victorarbuesmallada going below a minute doesn't make much sense, not just because certain parts of channel state are only evaluated once a minute but also because the delivery acknowledgement timeout feature, as the docs explain, is a server protection mechanism, not a way to manage your consumers.
If you want your consumers to report an error if processing takes more than, say, 30 seconds, you have to do it in your own code, and report relevant metrics as you see fit.