@Override
    public KRaftVersion kraftVersion() {
        return partitionState.lastKraftVersion();
    }
Poll for new events. This allows the client to handle inbound
requests and send any needed outbound requests.
raft/src/main/java/org/apache/kafka/raft/KafkaRaftClient.java