Access) in Kafka 4.0 • Uses share groups • Built on KIP-848 • the next generation consumer rebalance protocol • Enables • multiple consumers (> partitions) • to cooperatively process records from the same topic-partition concurrently Now you can! KIP-932: Queues for Kafka (share groups)
1 will need lots of consumers • Order is now only partial • not per partition, but per batch per partition • With batch size 1 or errors & redelivery • NO ORDERING GURANTEES • In Kafka 4.0 queues must be enabled • unstable.api.versions.enable=true • group.coordinator.rebalance.protocols=classic,consumer,sh are • In consumer code • New constructor, KafkaShareConsumer() and use • Kafka 4.0.0 kafka-clients • Experimental in 4.0.0 • Not upgradeable • 4.1 preview • 4.2 GA But watch out!