Is there any way to make Kafka 0.8.2.2 honor the DNS TTLs of its Zookeeper ensemble? I'm specifying the Zookeepers by hostname, but Kafka doesn't seem to ever re-resolve those hostnames after startup. I've tried setting the relevant JVM system properties via "-Dnetworkaddress.cache.ttl=0 -Dnetworkaddress.cache.negative.ttl=0", but it doesn't seem like Kafka's behavior was affected by those options.
I don't see any reference to this issue in the bug tracker. Is there a way to deal with Zookeeper server replacement short of restarting Kafka? Are there other approaches I can take that won't result in downtime? The only option I can think of is to do a rolling restart of the Kafka servers after each Zookeeper server is replaced, which seems distasteful.