I just upgraded few dependencies for spring boot upgrade for my app. Post that, when the app starts up I keep getting this exception for all kafka listeners.
logger=”o.a.k.c.c.i.AbstractCoordinator” thread=”kafka-coordinator-heartbeat-thread | kafka-dw_UNKNOWN_–event” [Consumer clientId=kafka-dw-persister_test, groupId=kafka-dw_UNKNOWN_–event] Member kafka-dw sending LeaveGroup request to coordinator kafka.test.local:9093 (id: 2147483645 rack: null) due to consumer poll timeout has expired. This means the time between subsequent calls to poll() was longer than the configured max.poll.interval.ms, which typically implies that the poll loop is spending too much time processing messages. You can address this either by increasing max.poll.interval.ms or by reducing the maximum size of batches returned in poll() with max.poll.records.
Please give a solution for this.
PS: It is a simple kafka listener with all default settings, uses the @KafkaListener implementation.
Thanks in advance.