final synchronized void setNewGeneration(final Generation generation) {
        this.generation = generation;
    }
@return true if the current generation's member ID is valid, false otherwise
clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractCoordinator.java