On this page
Kafka Improvement Proposal
KIP-932: Queues for Kafka, with share groups
KIP-932 adds share groups, which make a Kafka topic behave like a queue. Any number of consumers can read the same partition, each record is handed to one of them at a time, and every record is acknowledged on its own: accepted, released for another try, or rejected. Records that are not acknowledged in time come back automatically.
- Proposal
- KIP-932, Queues for Kafka
- Status
- Shipped Early access in Kafka 4.0, preview in 4.1, production-ready in 4.2.
- Area
- Consumer groups and queues
- Proposal page
- KIP-932 on the Apache Kafka wiki
Why it was needed
In a consumer group, a partition belongs to exactly one member, so you can never have more working consumers than partitions, and the consumer only tracks one offset per partition. That is great for ordered streams and awkward for work queues: a slow job holds up everything behind it, scaling out means adding partitions, and there is no per-message retry. Teams ran RabbitMQ or SQS next to Kafka for those jobs.
What it changes
A share group has no partition ownership. The broker keeps a window of in-flight records per partition and hands records out to members with a time-limited lock (group.share.record.lock.duration.ms, 30 seconds by default). The consumer acknowledges each record as ACCEPT, RELEASE or REJECT. A released or expired record becomes available again and its delivery count goes up; once it reaches group.share.delivery.count.limit it is archived instead of redelivered, so one poison message cannot loop forever. Ordering is not guaranteed in a share group.
How to use it
- Use brokers on Kafka 4.2 or newer and the KafkaShareConsumer client with a group.id. On 4.1 the preview needs share.version=1, and clusters with fewer than three brokers need the internal share-state topic settings lowered.
- Ack explicitly (share.acknowledgement.mode=explicit) when processing can fail, so failures are released or rejected instead of accepted with the next poll.
Where it stands
Early access in Kafka 4.0, preview in 4.1, and production-ready since Kafka 4.2 (February 2026). Later releases built on it: renewing a record lock (KIP-1222), share-partition lag (KIP-1226) and, in Kafka 4.4, a dead-letter queue (KIP-1191).
What comes next
Share groups keep growing through follow-up KIPs, such as the dead-letter queue of KIP-1191, and clients in other languages are catching up with the Java KafkaShareConsumer. Ordering guarantees and exactly-once for share groups are not part of the design.
See it in the simulator
- Kafka share groups: queue semantics with KIP-932 (Share group queue) Step 3: Draining Open at this step: Kafka share groups: queue semantics with KIP-932
- Kafka share group acquisition lock timeout and redelivery (Record acquisition locks and lock timeout) Step 4: Lock timed out · record released Open at this step: Kafka share group acquisition lock timeout and redelivery
- Kafka share consumer acknowledge: accept, release, reject (Acknowledge: accept, release, reject) Step 5: REJECT offset 2 → archived Open at this step: Kafka share consumer acknowledge: accept, release, reject