public Collection<TopicIdPartition> sessionPartitions() {
        return Collections.unmodifiableCollection(sessionPartitions.values());
    }
All the partitions in the share session.
clients/src/main/java/org/apache/kafka/clients/consumer/internals/ShareSessionHandler.java