Skip to content

Commit

Permalink
HOTFIX: ListShareGroupOffsetResult javadoc (apache#18642)
Browse files Browse the repository at this point in the history
Signed-off-by: PoAn Yang <payang@apache.org>
Reviewers: Andrew Schofield <aschofield@confluent.io>
  • Loading branch information
FrankYang0529 authored Jan 20, 2025
1 parent 892a446 commit 7733323
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class ListShareGroupOffsetsResult {
/**
* Return the future when the requests for all groups succeed.
*
* @return - Future which yields all Map<String, Map<TopicPartition, Long> objects, if requests for all the groups succeed.
* @return - Future which yields all Map&lt;String, Map&lt;TopicPartition, Long&gt;&gt; objects, if requests for all the groups succeed.
*/
public KafkaFuture<Map<String, Map<TopicPartition, Long>>> all() {
return KafkaFuture.allOf(futures.values().toArray(new KafkaFuture[0])).thenApply(
Expand All @@ -65,7 +65,7 @@ public KafkaFuture<Map<String, Map<TopicPartition, Long>>> all() {
}

/**
* @param groupId - The groupId for which the Map<TopicPartition, Long> is needed
* @param groupId - The groupId for which the Map&lt;TopicPartition, Long&gt; is needed
* @return - Future which yields a map of topic partitions to offsets for the specified group.
*/
public KafkaFuture<Map<TopicPartition, Long>> partitionsToOffset(String groupId) {
Expand Down

0 comments on commit 7733323

Please sign in to comment.