admin管理员组文章数量:1415491
According to the documentation the NonResponsiveConsumerEvent should be emitted "when a consumer is not responding to the poll".
I'm using the following configuration:
- I have a single Kafka Listener that listens to a topic without any parallelism.
- The listener publishes in a syncronous way messages to another topic, waiting for ACKs after each send. (The duration of this process may vary, but I expect it to remain under 1 minute in total)
The issue I'm facing is that despite modifications to spring.kafka.listener.monitorInterval
and spring.kafka.listener.pollTimeout
, I still get NonResponsiveConsumerEvent
within 19 to 45 seconds.
I have set the pollTimeout to 5 minutes. Based on Spring Kafka here with a value of 5 minutes, and the default noPollThreshold to 3, I was expecting the event to be emitted after approximately 300 seconds. However, it still arrives within the same 19 to 45 second window.
Am I missing any conditions that could be emitting NonResponsiveConsumerEvent
?
Thanks!
本文标签: Spring Kafka NonResponsiveConsumerEvent occurs sooner then expectedStack Overflow
版权声明:本文标题:Spring Kafka: NonResponsiveConsumerEvent occurs sooner then expected - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745167988a2645798.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论