we can set "advertised.listeners" to a host name, not an IP address and make sure host name always resolve to the correct IP.
On Tue, Mar 7, 2017 at 3:15 PM, Stanislav Melashchuk <awake....@gmail.com> wrote: > Hello! > Here is a situation : we have Kafka producer connected to a Kafka node, > which is available by host kukuku.com (for example) and uses dynamic IP > address. If we restart our node, it will change an IP address. But producer > has only previous node IP in it's metadata and it doesn't initiate new > address IP resolution, it's just trying to connect to last known node. > Question is, can we reconnect to a restarted node (or cluster) without > re-creating our producer? > Cause it doesn't looks like right way to do. >