Description
Following https://kafka.apache.org/documentation/#kraft_zk_migration
1) It completely skips the facts that the storage for the new quorum should be formatted using the existing cluster id.
2) In Provisioning the KRaft controller quorum:
controller.quorum.voters=1@localhost:9093 should be controller.quorum.voters=3000@localhost:9093 as node.id=3000
3) When migrating brokers, it states:
# Don't set the IBP, KRaft uses "metadata.version" feature flag # inter.broker.protocol.version=3.4 # Keep the migration enabled zookeeper.metadata.migration.enable=true # Remove ZooKeeper client configuration # zookeeper.connect=localhost:2181
However if I do that, my brokers fails to restart and print:
org.apache.kafka.common.config.ConfigException: If using zookeeper.metadata.migration.enable in KRaft mode, zookeeper.connect must also be set.
4) When disabling zookeeper.metadata.migration.enable or keeping zookeeper.connect to get past this step, when brokers restart they print a lot of error messages:
org.apache.kafka.common.errors.InvalidRequestException: Received request api key LEADER_AND_ISR which is not enabled
[2023-02-08 12:06:25,776] ERROR Exception while processing request from 192.168.1.11:9092-192.168.1.11:57210-107 (kafka.network.Processor)
Attachments
Issue Links
- duplicates
-
KAFKA-14695 broker will get LEADER_AND_ISR is not enabled error while ZK migrating to KRaft
- Resolved
- relates to
-
KAFKA-14304 ZooKeeper to KRaft Migration
- Resolved
- links to