Migrate ConsumerGroupState to GroupState

Proprietary

Migrates from the deprecated ConsumerGroupState to GroupState for Kafka 4.0 compatibility. ConsumerGroupState was deprecated in favor of GroupState which supports both consumer groups and share groups.

io.moderne.kafka.MigrateConsumerGroupStateToGroupState
mod run . --recipe=io.moderne.kafka.MigrateConsumerGroupStateToGroupState

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Change type ConsumerGroupState to GroupState
  2. Change method name org.apache.kafka.clients.admin.ConsumerGroupDescription state() to groupState
  3. Change method invocation return type