A share group lets multiple consumers cooperatively consume records from the same partition. It suits relatively slow consumers that need queue-like behavior without over-partitioning a topic for parallelism. section 6.1.2
Use the pattern with these trade-offs in mind:
- Expect more consumers than partitions to be possible, reducing pressure to create extra partitions solely for parallelism. section 6.1.2
- Do not depend on strict ordering within a shared partition: multiple consumers can pull records from it. section 6.1.2
- Prefer traditional consumer groups for high-throughput workloads or any processing that requires partition ordering. section 6.1.2
