Skip to content

Change log level in createKafkaZkClient#2264

Merged
CCisGG merged 1 commit intomigrate_to_kafka_3_0from
20250331_log_error
Apr 1, 2025
Merged

Change log level in createKafkaZkClient#2264
CCisGG merged 1 commit intomigrate_to_kafka_3_0from
20250331_log_error

Conversation

@CCisGG
Copy link
Copy Markdown
Contributor

@CCisGG CCisGG commented Apr 1, 2025

Summary

  1. Why
    We run kafka 3.0 with the 3.0.0 version and get the following error:
java.util.NoSuchElementException: Unable to find viable apply function version for the KafkaZkClient class 
        at com.linkedin.kafka.cruisecontrol.KafkaCruiseControlUtils.createKafkaZkClient(KafkaCruiseControlUtils.java:572) ~[com.linkedin.cruisec
ontrol.cruise-control-3.0.0.jar:?]
        at com.linkedin.kafka.cruisecontrol.detector.ZKBrokerFailureDetector.<init>(ZKBrokerFailureDetector.java:46) ~[com.linkedin.cruisecontro
l.cruise-control-3.0.0.jar:?]
        at com.linkedin.kafka.cruisecontrol.detector.AnomalyDetectorManager.<init>(AnomalyDetectorManager.java:116) ~[com.linkedin.cruisecontrol
.cruise-control-3.0.0.jar:?]
        at com.linkedin.kafka.cruisecontrol.KafkaCruiseControl.<init>(KafkaCruiseControl.java:124) ~[com.linkedin.cruisecontrol.cruise-control-3
.0.0.jar:?]
...

The current log is not sufficient to help to determine what is the error.

  1. What
    Changing log level to error when there is an exception to invoke KafkaZkClient.apply().

@CCisGG CCisGG merged commit 9b1cb78 into migrate_to_kafka_3_0 Apr 1, 2025
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant