private void clearAddresses() {
            addresses = Collections.emptyList();
        }
Clears the resolved addresses in order to trigger re-resolving on the next {@link #currentAddress()} call.
clients/src/main/java/org/apache/kafka/clients/ClusterConnectionStates.java