Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-6548

Get Cruise Control working with Kafka 4.0.0

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None

      Latest Cruise Control (2.5.141) does not seem to be working with Kafka 4.0. This seems to be because it is using some deprecated methods dropped in Kafka 4.0.0:

      2025-02-22T22:27:38,802 ERROR Uncaught exception in thread 'CruiseControlMetricsReporterRunner': (org.apache.kafka.common.utils.KafkaThread) [CruiseControlMetricsReporterRunner]
      java.lang.NoSuchMethodError: 'java.util.Map org.apache.kafka.clients.admin.DescribeTopicsResult.values()'
              at com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter.maybeIncreaseTopicPartitionCount(CruiseControlMetricsReporter.java:376) ~[cruise-control-metrics-reporter-2.5.141.jar:?]
              at com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter.maybeUpdateCruiseControlMetricsTopic(CruiseControlMetricsReporter.java:348) ~[cruise-control-metrics-reporter-2.5.141.jar:?]
              at com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter.run(CruiseControlMetricsReporter.java:395) ~[cruise-control-metrics-reporter-2.5.141.jar:?]
              at java.base/java.lang.Thread.run(Thread.java:840) [?:?] 

              srawat@redhat.com Shubham Rawat
              scholzj JAkub Scholz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: