Deep dive into the performance of Queues for Kafka
Apoorv Mittal, ConfluentAndrew Schofield, Confluent
Wed, Nov 4, 2:00–2:45 PMRoom 2002
When Apache Kafka introduced share groups, the first question from every architect was: "What's the overhead?" This talk answers that question with data. The talk presents a comprehensive performance analysis of share groups across throughput, latency, and resource utilization under diverse workload profiles. We benchmark share groups against consumer groups in head-to-head comparisons — from high-throughput streaming workloads to fan-out patterns, bursty task queues, and heterogeneous worker pools with variable processing times.
Share groups add record-level state tracking, acquisition locks, and per-message acknowledgment — but how much does that actually cost, and when does it pay for itself? We show how performance shifts as you scale consumers beyond partition count, introduce out-of-order acknowledgements, vary message sizes, and mix fast and slow consumers on the same topic. The results reveal where share groups match consumer group performance, where they pull ahead, and the effect of application design and configuration.
You'll leave with a mental model of share group performance characteristics and practical information for designing your applications and tuning your cluster for best performance.
Speakers
-
Apoorv Mittal
Senior Staff Software Engineer, Confluent
Apoorv Mittal is a Apache Kafka Committer and Senior Staff Software Engineer at Confluent with over 16 years of experience in the tech industry. He has been primarily involved in developing distributed systems and architecting e-commerce platforms. He has worked majorly in companies which have emerged as a unicorn where Apoorv joined in initial growth phase and helped developing core platforms to support the business.
-
Andrew Schofield
Principal Engineer, Confluent
Andrew has been living and breathing messaging and IoT for more than 30 years. He was one of the original engineering team that created IBM MQ, focusing on transactions, data integrity and high availability. He's also got extensive experience of IoT and was on the technical committee for standardization of the MQTT protocol. He's been working with Kafka since 2015, initially as IBM's technical lead for Kafka offerings on the public cloud and Kubernetes, and now as a principal engineer for Confluent. He is an Apache Kafka committer and PMC member.