From a9688b95070c5edd8247bbde55edd8beabbc85a8 Mon Sep 17 00:00:00 2001 From: Lianet Magrans <98415067+lianetm@users.noreply.github.com> Date: Tue, 14 Jan 2025 21:36:14 +0100 Subject: [PATCH] MINOR: Improve doc for config group.consumer.max.size (#18533) Reviewers: David Jacot --- .../kafka/coordinator/group/GroupCoordinatorConfig.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupCoordinatorConfig.java b/group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupCoordinatorConfig.java index f1ae15cbc7adc..804d80b226686 100644 --- a/group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupCoordinatorConfig.java +++ b/group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupCoordinatorConfig.java @@ -114,7 +114,10 @@ public class GroupCoordinatorConfig { public static final int CONSUMER_GROUP_MAX_HEARTBEAT_INTERVAL_MS_DEFAULT = 15000; public static final String CONSUMER_GROUP_MAX_SIZE_CONFIG = "group.consumer.max.size"; - public static final String CONSUMER_GROUP_MAX_SIZE_DOC = "The maximum number of consumers that a single consumer group can accommodate. This value will only impact the new consumer coordinator. To configure the classic consumer coordinator check " + GROUP_MAX_SIZE_CONFIG + " instead."; + public static final String CONSUMER_GROUP_MAX_SIZE_DOC = "The maximum number of consumers " + + "that a single consumer group can accommodate. This value will only impact groups under " + + "the CONSUMER group protocol. To configure the max group size when using the CLASSIC " + + "group protocol use " + GROUP_MAX_SIZE_CONFIG + " " + "instead."; public static final int CONSUMER_GROUP_MAX_SIZE_DEFAULT = Integer.MAX_VALUE; public static final String CONSUMER_GROUP_ASSIGNORS_CONFIG = "group.consumer.assignors";