KIP-394 — Require member.id for initial join group request
Discussion Kafka 2.2 ConsumerProtocol
Changes the consumer group join protocol so that the initial `JoinGroup` request with `member.id=UNKNOWN_MEMBER_ID` returns a `MEMBER_ID_REQUIRED` error with a server-assigned member ID, and the client must retry with that member ID to complete the join. When clients repeatedly retry `JoinGroup` without completing the handshake (due to connection timeouts, infinite `max.poll.interval.ms`, or restart loops), the broker accumulates dangling member state entries that are never cleaned up, bloating coordinator memory.
Protocol Impact
Details
| Author | Boyang Chen |
| Status | Discussion |
| Kafka Version | 2.2 |
| JIRA | KAFKA-7824 |
| Wiki | View on Apache Wiki |
| Created | 2018-11-26 |
| Last Modified | 2020-06-01 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.