conduktor.io ↗

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

AuthorTengYao Chi
StatusAccepted
Kafka Version4.0
JIRAKAFKA-17116
WikiView on Apache Wiki
Created2024-08-08
Last Modified2024-10-04
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.