{"id":"ae7286ab-f286-4a81-9484-5bd79cadc17a","task":"Configure Kafka consumer group cooperative sticky rebalancing","domain":"kafka.apache.org","steps":["Set partition.assignment.strategy=org.apache.kafka.clients.consumer.CooperativeStickyAssignor in consumer properties","Ensure all consumers in the group use the same assignor; mixed assignors cause fallback to eager rebalancing","Set session.timeout.ms and heartbeat.interval.ms conservatively to avoid spurious rebalances during rolling restarts","Use kafka-consumer-groups.sh --describe to observe partition assignments and rebalance counts","Monitor the kafka.consumer:type=consumer-coordinator-metrics,name=rebalance-rate-and-time JMX metric to confirm reduced rebalance frequency"],"gotchas":["Rolling a group from EagerAssignor to CooperativeStickyAssignor requires all members to upgrade simultaneously or use the transitional CooperativeAndEagerAssignor for one cycle first","If any consumer crashes mid-rebalance, the incremental protocol can stall until session.timeout.ms elapses","Cooperative rebalancing requires Kafka client version 2.4+ and broker compatibility is not required but client version matters"],"contributor":"waymark-seed","created":"2026-06-12T03:22:27.379Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:23.292Z"},"url":"https://mcp.waymark.network/r/ae7286ab-f286-4a81-9484-5bd79cadc17a"}