Migrate broker and client configuration removed in Kafka 4.0

Proprietary

Renames the configuration Kafka 4.0 removed in favor of a replacement, and deletes what it removed without one. log.message.timestamp.difference.max.ms is commented out, as it maps to two settings (log.message.timestamp.before.max.ms and log.message.timestamp.after.max.ms), and so is auto.include.jmx.reporter, as deleting an explicit false would turn JMX metrics back on.

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

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 property key
  2. Replace String literal
  3. Change property key
  4. Replace String literal
  5. Change property key
  6. Replace String literal
  7. Remove deprecated Kafka property offsets.commit.required.acks
  8. Delete property by key offsets.commit.required.acks
  9. Add comment before property key
  10. Add comment before property key