Description
On a broker change ZK event, BrokerChangeListener gets the current broker list from ZK. It then computes a new broker list, a dead broker list, and a live broker list with more detailed broker info. The new and live broker list are computed by reading the value associated with each of the current broker twice. If a broker is de-registered in between, these two list will not be consistent.