GH-4190 Add documentation for Kafka KIP-848 consumer group protocol#68
Open
lillo42 wants to merge 3 commits into
Open
GH-4190 Add documentation for Kafka KIP-848 consumer group protocol#68lillo42 wants to merge 3 commits into
lillo42 wants to merge 3 commits into
Conversation
…ter#4233) - KafkaConfiguration: add Consumer Group Protocol (KIP-848) section covering IGroupProtocol, ClassicGroupProtocol, ConsumerGroupProtocol, back-fill behavior, no-sharing contract, static membership and Validate caveats - KafkaConfiguration: mark SessionTimeout and PartitionAssignmentStrategy subscription options as deprecated in favor of GroupProtocol - V10MigrationGuide: add Kafka KIP-848 as a V10 new feature with before/after migration examples for the obsoleted properties
…rCommand/Brighter#4233) - Add Consumer Group Protocol (KIP-848) section covering IGroupProtocol, ClassicGroupProtocol, ConsumerGroupProtocol, back-fill behavior, the no-sharing contract, static membership and Validate caveats - Mark SessionTimeout and PartitionAssignmentStrategy subscription options as deprecated in favor of GroupProtocol - Update Partition Assignment Strategy examples to use ClassicGroupProtocol
… feature Document the new GroupProtocol option, the obsoleted SessionTimeout and PartitionAssignmentStrategy properties (with before/after examples), and how to opt into the KIP-848 consumer protocol. Refs BrighterCommand/Brighter#4233
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Documents the Kafka KIP-848 consumer group protocol support added in BrighterCommand/Brighter#4233.
Kafka Configuration (
KafkaConfiguration.md)IGroupProtocolstrategy selected viaKafkaSubscription.GroupProtocol, withClassicGroupProtocol(default) andConsumerGroupProtocol(KIP-848) implementations and code examples for both.null), the consumer back-fillsSessionTimeout(default 10 s) andPartitionAssignmentStrategy(defaultRoundRobin) from its constructor parameters, preserving existing behavior.IGroupProtocolinstance must not be shared across subscriptions.ConsumerGroupProtocoldeliberately does not setsession.timeout.ms,heartbeat.interval.ms, orpartition.assignment.strategy, which librdkafka rejects whengroup.protocol=consumer.GroupInstanceIdmust be unique per consumer instance — only set it with a single performer, or assign unique ids viaconfigHook.OnMissingChannel.Validatecannot reliably detect missing topics; preferCreateor provision topics out-of-band.GroupProtocol; markedSessionTimeoutandPartitionAssignmentStrategyas deprecated in favor ofClassicGroupProtocol.Range/CooperativeStickyexamples to configure the strategy viaClassicGroupProtocol.V10 Migration Guide (
V10MigrationGuide.md)KafkaSubscription.SessionTimeoutandKafkaSubscription.PartitionAssignmentStrategyproperties toClassicGroupProtocol.ConsumerGroupProtocol.Related Issues
BrighterCommand/Brighter#4190
BrighterCommand/Brighter#4233
Type of Change