public void resetPollTimer(final long pollMs) {
        if (pollTimer.isExpired()) {
            logger.debug("Poll timer has been reset after it had expired");
            shareMembershipManager.maybeRejoinStaleMember();
        }
        pollTimer.update(pollMs);
        pollTimer.reset(maxPollIntervalMs);
    }
Reset the poll timer, indicating that the user has called consumer.poll(). If the member
is in {@link MemberState#STALE} state due to expired poll timer, this will transition the
member to {@link MemberState#JOINING}, so that it rejoins the group.
clients/src/main/java/org/apache/kafka/clients/consumer/internals/ShareHeartbeatRequestManager.java