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

schofielaj 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 958cb311c41 MINOR: make description more clear for group.protocol 
(#20870)
958cb311c41 is described below

commit 958cb311c416811146175e27340cf5774239f9cc
Author: Joel Hamill <[email protected]>
AuthorDate: Thu Nov 13 10:57:30 2025 -0800

    MINOR: make description more clear for group.protocol (#20870)
    
    Update the description for the group.protocol to correct grammar issues
    and make description more clear.
    
    Reviewers: Andrew Schofield <[email protected]>, Kirk True
     <[email protected]>
---
 .../main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java 
b/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java
index ef2f7d0e9d7..2f527bdf9a1 100644
--- 
a/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java
+++ 
b/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java
@@ -112,9 +112,8 @@ public class ConsumerConfig extends AbstractConfig {
      */
     public static final String GROUP_PROTOCOL_CONFIG = "group.protocol";
     public static final String DEFAULT_GROUP_PROTOCOL = 
GroupProtocol.CLASSIC.name().toLowerCase(Locale.ROOT);
-    public static final String GROUP_PROTOCOL_DOC = "The group protocol 
consumer should use. We currently " +
-        "support \"classic\" or \"consumer\". If \"consumer\" is specified, 
then the consumer group protocol will be " +
-        "used. Otherwise, the classic group protocol will be used.";
+    public static final String GROUP_PROTOCOL_DOC = "The group protocol that 
the consumer uses. The " +
+        "supported values are <code>classic</code> or <code>consumer</code>. 
The default value is <code>classic</code>.";
 
     /**
     * <code>group.remote.assignor</code>

Reply via email to