Skip to content

Commit 958cb31

Browse files
authored
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]>
1 parent 7b09531 commit 958cb31

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,8 @@ public class ConsumerConfig extends AbstractConfig {
112112
*/
113113
public static final String GROUP_PROTOCOL_CONFIG = "group.protocol";
114114
public static final String DEFAULT_GROUP_PROTOCOL = GroupProtocol.CLASSIC.name().toLowerCase(Locale.ROOT);
115-
public static final String GROUP_PROTOCOL_DOC = "The group protocol consumer should use. We currently " +
116-
"support \"classic\" or \"consumer\". If \"consumer\" is specified, then the consumer group protocol will be " +
117-
"used. Otherwise, the classic group protocol will be used.";
115+
public static final String GROUP_PROTOCOL_DOC = "The group protocol that the consumer uses. The " +
116+
"supported values are <code>classic</code> or <code>consumer</code>. The default value is <code>classic</code>.";
118117

119118
/**
120119
* <code>group.remote.assignor</code>

0 commit comments

Comments
 (0)