KIP-389 — Introduce a configurable consumer group size limit
Accepted Kafka 2.1.1 ConsumerBroker
Introduces a `group.max.size` broker configuration that enforces an upper bound on the number of members in a single consumer group, rejecting `JoinGroup` requests with `GROUP_MAX_SIZE_REACHED` when the limit is exceeded. Without a group size limit, arbitrarily large consumer groups can form, causing rebalance times and coordinator memory usage to grow unboundedly, degrading performance for all groups managed by that coordinator.
Details
| Author | Boyang Chen |
| Status | Accepted |
| Kafka Version | 2.1.1 |
| JIRA | KAFKA-7610 |
| Wiki | View on Apache Wiki |
| Created | 2018-11-18 |
| Last Modified | 2019-01-18 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.