void reset() {
                subscribedTopicNames = null;
                rebalanceTimeoutMs = -1;
                serverAssignor = null;
                localAssignment = null;
            }
Builds the heartbeat requests correctly, ensuring that all information is sent according to
the protocol, but subsequent requests do not send information which has not changed. This
is important to ensure that reconciliation completes successfully.
clients/src/main/java/org/apache/kafka/clients/consumer/internals/HeartbeatRequestManager.java