@Override
    public boolean equals(Object o) {
        if (!(o instanceof BrokerHeartbeatReply)) return false;
        BrokerHeartbeatReply other = (BrokerHeartbeatReply) o;
        return other.isCaughtUp == isCaughtUp &&
            other.isFenced == isFenced &&
            other.inControlledShutdown == inControlledShutdown &&
            other.shouldShutDown == shouldShutDown;
    }
True if the heartbeat reply should tell the broker that it should shut down.
metadata/src/main/java/org/apache/kafka/metadata/BrokerHeartbeatReply.java