deviceinsight / kafka-health-check

Health Check for Apache Kafka

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrade Kafka Clients

d-huynh opened this issue · comments

Hi,

I ran into a problem with older Kafka Clients (2.0.1) your Spring Boot version is using: Health Check isn't aware of Kafka brokers' IP changes.

2021-02-01 18:46:22.141 - WARN [           ] 21 --- [pool-7-thread-1] o.a.k.c.c.internals.ConsumerCoordinator  : [Consumer clientId=consumer-health-check-XXXXX-15.1.0.162-3, groupId=health-check-XXXXXX-15.1.0.162] Offset commit failed on partition health-checks-3 at offset 134377: The request timed out.

(15.1.0.162 was the IP of an old Kafka pod).

The cause: KAFKA-7755 Kubernetes - Kafka clients are resolving DNS entries only one time, which was fixed in 2.1.1 and 2.2.0+

Could you please upgrade your Spring Boot/Kafka versions?