public static DeleteShareGroupStateParameters from(DeleteShareGroupStateRequestData data) {
        return new Builder()
                .setGroupTopicPartitionData(new GroupTopicPartitionData<>(data.groupId(), data.topics().stream()
                        .map(deleteStateData -> new TopicData<>(deleteStateData.topicId(), deleteStateData.partitions().stream()
                                .map(partitionData -> PartitionFactory.newPartitionIdData(partitionData.partition()))
                                .collect(Collectors.toList())))
                        .collect(Collectors.toList())))
                .build();
    }
This class contains the parameters for {@link Persister#deleteState(DeleteShareGroupStateParameters)}.
server-common/src/main/java/org/apache/kafka/server/group/share/DeleteShareGroupStateParameters.java