A service sends emails: each record in the topic is a separate job, and the order between them does not matter. In a consumer group such a service hits the partition count: extra copies sit idle, and one slow job holds up its whole partition. Share groups, production-ready since Kafka 4.2, hand out records one by one, like a job queue.
In this lesson
- How a share group differs
- The lock and the delivery count
- Three ways to acknowledge a record
- Two consumers on one partition
- The delivery limit
- A share group in franz-go
- Which to choose
- Common mistake
- Key points