This is an automated email from the ASF dual-hosted git repository.

chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new fd72d4ef671 MINOR: Document null parameter behavior in 
ListShareGroupOffsetsSpec#topicPartitions (#20828)
fd72d4ef671 is described below

commit fd72d4ef6715f4a07e65ea2a1818b5be1559bc89
Author: Jhen-Yung Hsu <[email protected]>
AuthorDate: Wed Nov 5 16:09:55 2025 +0800

    MINOR: Document null parameter behavior in 
ListShareGroupOffsetsSpec#topicPartitions (#20828)
    
    Document that passing null includes all topic partitions in
    ListShareGroupOffsetsSpec#topicPartitions.
    
    Reviewers: Ken Huang <[email protected]>, Andrew Schofield
     <[email protected]>, Chia-Ping Tsai <[email protected]>
---
 .../java/org/apache/kafka/clients/admin/ListShareGroupOffsetsSpec.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/clients/src/main/java/org/apache/kafka/clients/admin/ListShareGroupOffsetsSpec.java
 
b/clients/src/main/java/org/apache/kafka/clients/admin/ListShareGroupOffsetsSpec.java
index d8144a0ce43..f2e1e79f804 100644
--- 
a/clients/src/main/java/org/apache/kafka/clients/admin/ListShareGroupOffsetsSpec.java
+++ 
b/clients/src/main/java/org/apache/kafka/clients/admin/ListShareGroupOffsetsSpec.java
@@ -37,7 +37,7 @@ public class ListShareGroupOffsetsSpec {
     /**
      * Set the topic partitions whose offsets are to be listed for a share 
group.
      *
-     * @param topicPartitions List of topic partitions to include
+     * @param topicPartitions List of topic partitions to include, or {@code 
null} to include all topic partitions.
      */
     public ListShareGroupOffsetsSpec 
topicPartitions(Collection<TopicPartition> topicPartitions) {
         this.topicPartitions = topicPartitions;

Reply via email to