Replace broker.id with node.id

Proprietary

Kafka 4.4 deprecated broker.id in favor of node.id (KIP-1232). Only KRaft configurations, which set process.roles, are changed, as a ZooKeeper-mode broker requires broker.id. A file that already sets node.id drops broker.id; elsewhere broker.id is renamed.

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

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. Remove broker.id where node.id is set
  2. Change property key