[ https://issues.apache.org/jira/browse/KAFKA-14698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17686615#comment-17686615 ]
David Arthur commented on KAFKA-14698: -------------------------------------- Thanks [~mimaison]. I've uploaded the logs from the zk migration system test which also shows this problem. If you continue to migrate ZK brokers, do you see other problems besides the ERROR logs? I suspect this is just a superficial problem and not a correctness issue. cc [~showuon] > 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 > Priority: Major > Fix For: 3.5.0, 3.4.1 > > Attachments: broker0.log, controller.log, test_online_migration.tar.gz > > > 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)