public List<MemberState> getPreviousValidStates() {
        return this.previousValidStates;
    }
The member transitions to this state when the poll timer expires, indicating that there
hasn't been a call to consumer.poll within the <code>max.poll.interval.ms</code>. While in
this state, the member will send a heartbeat to leave the group, invoke the
onPartitionsLost callback, and clear its assignments. The member will only transition
out of this state on the next application poll event. The member will then transition
to JOINING, to rejoin the group.
clients/src/main/java/org/apache/kafka/clients/consumer/internals/MemberState.java