Mickael Maison created KAFKA-14698: -------------------------------------- Summary: Received request api key LEADER_AND_ISR which is not enabled Key: KAFKA-14698 URL: https://issues.apache.org/jira/browse/KAFKA-14698 Project: Kafka Issue Type: Bug Components: kraft Affects Versions: 3.4.0 Reporter: Mickael Maison Attachments: broker0.log, controller.log
I started from a Kafka cluster (with ZooKeeper) with 2 brokers. There's a single topic "test" with 2 partitions and 2 replicas and the internal __consumer_offsets topics. While following the ZooKeeper to KRaft migration steps from [https://kafka.apache.org/documentation/#kraft_zk_migration], I'm hitting issues at the Migrating brokers to KRaft step. When I restart a broker as KRaft, it repetitively prints the following error: {code:java} org.apache.kafka.common.errors.InvalidRequestException: Received request api key LEADER_AND_ISR which is not enabled [2023-02-09 16:14:30,334] ERROR Closing socket for 192.168.1.11:9092-192.168.1.11:63737-371 because of error (kafka.network.Processor) {code} The controller repetitively prints the following error: {code:java} [2023-02-09 16:12:27,456] WARN [Controller id=1000, targetBrokerId=0] Connection to node 0 (mmaison-mac.home/192.168.1.11:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient) [2023-02-09 16:12:27,456] INFO [Controller id=1000, targetBrokerId=0] Client requested connection close from node 0 (org.apache.kafka.clients.NetworkClient) [2023-02-09 16:12:27,560] INFO [Controller id=1000, targetBrokerId=0] Node 0 disconnected. (org.apache.kafka.clients.NetworkClient) {code} Attached the controller logs and logs from broker-0 -- This message was sent by Atlassian Jira (v8.20.10#820010)