KIP-1082 — Require Client-Generated IDs over the ConsumerGroupHeartbeat RPC
Accepted Kafka 4.0 ConsumerProtocol
Requires clients to generate and send member IDs on the initial `ConsumerGroupHeartbeat` RPC rather than letting the broker assign them, making the first heartbeat idempotent. Without client-generated IDs, a consumer that sends a join heartbeat but closes before receiving the response may issue a leave heartbeat with a null member ID, causing the broker to register an orphaned member that never expires.
Protocol Impact
ConsumerGroupHeartbeat v1 · Heartbeat
Details
| Author | TengYao Chi |
| Status | Accepted |
| Kafka Version | 4.0 |
| JIRA | KAFKA-17116 |
| Wiki | View on Apache Wiki |
| Created | 2024-08-08 |
| Last Modified | 2024-10-04 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.