void remove(int brokerId) {
        BrokerHeartbeatState broker = brokers.remove(brokerId);
        if (broker != null) {
            untrack(broker);
        }
    }
Remove a broker.

@param brokerId      The ID of the broker to remove.
metadata/src/main/java/org/apache/kafka/controller/BrokerHeartbeatManager.java