You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see the broker metrics in the CruiseControl UI. However, I am getting an error if I'm trying to call any Kafka scripts:
/kafka/bin/kafka-acls.sh --bootstrap-server 10.10.10.1:9093 --command-config /kafka/server.properties --list
Error while executing ACL command: Failed to create new KafkaAdminClient
org.apache.kafka.common.KafkaException: Failed to create new KafkaAdminClient
at org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:551)
at org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:488)
at org.apache.kafka.clients.admin.Admin.create(Admin.java:134)
at kafka.admin.AclCommand$AdminClientService.listAcls(AclCommand.scala:100)
at kafka.admin.AclCommand$.main(AclCommand.scala:77)
at kafka.admin.AclCommand.main(AclCommand.scala)
Caused by: java.lang.NumberFormatException: Cannot parse null string
at java.base/java.lang.Integer.parseInt(Integer.java:630)
at java.base/java.lang.Integer.parseInt(Integer.java:786)
at com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter.configure(CruiseControlMetricsReporter.java:186)
at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstance(AbstractConfig.java:401)
at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstances(AbstractConfig.java:482)
at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstances(AbstractConfig.java:460)
at org.apache.kafka.clients.CommonClientConfigs.metricsReporters(CommonClientConfigs.java:238)
at org.apache.kafka.clients.CommonClientConfigs.metricsReporters(CommonClientConfigs.java:234)
at org.apache.kafka.clients.admin.KafkaAdminClient.createInternal(KafkaAdminClient.java:512)
... 5 more
Does anyone know what parameter should I set to avoid this error?
The text was updated successfully, but these errors were encountered:
Hello.
I bumped into a weird problem where any Kafka cli commands are broken if there are metrics.exporter option in the Kafka server configuration file.
My current server config is:
I see the broker metrics in the CruiseControl UI. However, I am getting an error if I'm trying to call any Kafka scripts:
Does anyone know what parameter should I set to avoid this error?
The text was updated successfully, but these errors were encountered: