Description
Producers, contrary to brokers, retain the IPs of brokers instead of resolving the Hostname again. This stops producers from connecting to the brokers.
To reproduce have a producer connect to brokers, bring down the brokers and bring them up with different ip but with same hostname (DNS updated, eg. On kubernetes) Producers will start logging “Broker maybe down”, but will never reconnect as the IP address in the log message will keep on referencing the old IP.
Attachments
Issue Links
- duplicates
-
KAFKA-7755 Kubernetes - Kafka clients are resolving DNS entries only one time
- Resolved