AndrewJSchofield commented on code in PR #19328:
URL: https://github.com/apache/kafka/pull/19328#discussion_r2027266957
##########
clients/src/main/java/org/apache/kafka/clients/admin/ListShareGroupOffsetsSpec.java:
##########
@@ -47,9 +46,10 @@ public ListShareGroupOffsetsSpec
topicPartitions(Collection<TopicPartition> topi
/**
* Returns the topic partitions whose offsets are to be listed for a share
group.
+ * {@code null} indicates that offsets of all partitions of the group are
to be listed.
*/
public Collection<TopicPartition> topicPartitions() {
Review Comment:
Not sure, but this is precisely the same behaviour as
`ListConsumerGroupOffsetsSpec`. Essentially, if you do `new
ListShareGroupOffsetsSpec()` you get all of them. If you do `new
ListShareGroupOffsetsSpec().topicPartitions(....)` then you get a smaller list.
There's no way to ask for none.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]