group.consumer.migration.policy — Kafka Broker Configuration
The config that enables converting the non-empty classic group using the consumer embedded protocol to the non-empty consumer group using the consumer group protocol and vice versa; conversions of empty groups in both directions are always enabled regardless of this policy. bidirectional: both upgrade from classic group to consumer group and downgrade from consumer group to classic group are enabled, upgrade: only upgrade from classic group to consumer group is enabled, downgrade: only downgrade from consumer group to classic group is enabled, disabled: neither upgrade nor downgrade is enabled
Description
The config that enables converting the non-empty classic group using the consumer embedded protocol to the non-empty consumer group using the consumer group protocol and vice versa; conversions of empty groups in both directions are always enabled regardless of this policy. bidirectional: both upgrade from classic group to consumer group and downgrade from consumer group to classic group are enabled, upgrade: only upgrade from classic group to consumer group is enabled, downgrade: only downgrade from consumer group to classic group is enabled, disabled: neither upgrade nor downgrade is enabled. In this mode a member using the classic protocol is not allowed to join or rejoin a non-empty consumer group; if a group is already mixed (for example because this policy was changed), its classic-protocol members are rejected when they next attempt to rejoin.
Default Values by Kafka Version
| Component | Kafka version line | Documented default |
|---|---|---|
| Broker | 3.8 | disabled |
| Broker | 4.0 | bidirectional |
| Broker | 4.1 | bidirectional |
| Broker | 4.2 | bidirectional |
| Broker | 4.3 | bidirectional |
| Broker | 4.4 | bidirectional |