public S stateValue(TopicPartition topicPartition) {
        return map.get(topicPartition);
    }
Returns the partition state values in order.
clients/src/main/java/org/apache/kafka/common/internals/PartitionStates.java