public List<Tuple2<TopicIdPartition, ShareFetchRequest.SharePartitionData>> validTopicIdPartitions() {
        return validTopicIdPartitions;
    }
Helper class to return the erroneous partitions and valid partition data
core/src/main/java/kafka/server/share/ErroneousAndValidPartitionData.java