Open aljawado700 opened 11 months ago
This is because this variable is moved, old: KafkaConfig.ListenersProp() new: SocketServerConfigs.LISTENERS_CONFIG
See this PR in Kafka: https://github.com/apache/kafka/commit/1b301b30207ed8fca9f0aea5cf940b0353a1abca?diff=split&w=0
Actually I realized your error message is a little different than mine, my error message is below. And I am running against Kafka 3.8.0
[2024-06-18 15:28:10,432] ERROR [KafkaServer id=1025] Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer) java.lang.NoSuchMethodError: 'java.lang.String kafka.server.KafkaConfig.ListenersProp()' at com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter.getBootstrapServers(CruiseControlMetricsReporter.java:129)
Not sure if this is a version compatibility issue or not. When metrics reporter is loaded by kafka, no such method error is thrown:
kafka version: kafka_2.13-3.1.0 cruise control version: 2.5.42