DEV Community

Andrew 77
Andrew 77

Posted on

Received request api key METADATA with version 6 which is not enabled

ERROR Closing socket for 10.240.200.113:9093-10.240.200.113:46900-3 because of error (kafka.network.Processor)
org.apache.kafka.common.errors.InvalidRequestException: Received request api key METADATA with version 6 which is not enabled
ERROR Exception while processing request from 10.240.200.113:9093-10.240.200.113:46900-3 (kafka.network.Processor)
Mar 24 14:58:50 EDMTstSrv03 bash[2656920]: org.apache.kafka.common.errors.InvalidRequestException: Received request api key METADATA with version 6 which is not enabled
Mar 24 14:58:51 EDMTstSrv03 bash[2656920]: [2025-03-24 14:58:51,130] ERROR Closing socket for 10.240.200.113:9093-10.240.200.113:46922-3 because of error (kafka.network.Processor)
Mar 24 14:58:51 EDMTstSrv03 bash[2656920]: org.apache.kafka.common.errors.InvalidRequestException: Received request api key METADATA with version 6 which is not enabled
[2025-03-24 14:58:51,131] ERROR Exception while processing request from 10.240.200.113:9093-10.240.200.113:46922-3 (kafka.network.Processor)
Mar 24 14:58:51 EDMTstSrv03 bash[2656920]: org.apache.kafka.common.errors.InvalidRequestException: Received request api key METADATA with version 6 which is not enabled

I suddenly got this error from starting my kafka kraft controller.

Pls Help. Thankyou

Top comments (1)

Collapse
 
nohlnohl7 profile image
Achim Nohl • Edited

I have the same issue. I am using wurstmeister/kafka and wurstmeister/zookeeper with NestJS and kafkajs 2.24. I am seeing also the problem in my CI workflow with GitHub action 280780363/kafka-action@v1.0. It all worked at least a month ago.

Update: It was as often my own fault again. My message was malformed and topic was by accident set to a boolean value vs string due to a param mismatch in my code