-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
I understand from https://stackoverflow.com/questions/47524315/handle-failure-in-case-the-kafka-broker-is-down that since 1.3.2, there is a "NonResponsiveConsumerEvent" that triggers when the broker is unavailable.
When trying this, I note that the event is triggered regardless of whether the consumer polling is responsive or not.
Digging deeper into the code, I note that the "last" variable in KafkaMessageListenerContainer.java isn't being updated in the processCommits() method if ackMode = manual, batch, record or count. Because the "last" variable isn't being updated, it looks like the checkConsumer() method in KafkaMessageListenerContainer.java will always trigger the NonResponsiveConsumerEvent.
Would you please be able to take a look to see if this is a bug?
Thanks!