kafkaExporter container cannot start anymore in strimzi 0.26 #5765
Replies: 3 comments
-
The Strimzi operator does the mapping between literal and integer values: https://github.com/strimzi/strimzi-kafka-operator/blob/main/cluster-operator/src/main/java/io/strimzi/operator/cluster/model/KafkaExporter.java#L249 |
Beta Was this translation helpful? Give feedback.
-
Hi @sknot-rh, Thanks for your quick reply. Ok understood, so that explains everything then:
If I set logging variable to 3 in Kafka CR, the container is now starting. I guess you can close this issue then. |
Beta Was this translation helpful? Give feedback.
-
@thibthibus You cannot mix the containers between Strimzi versions. There might be many things which will not work. You should always use all containers from the same Strimzi version. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
The kafkaExporter container cannot start anymore with the latest Strimzi release (that relies v1.4.2 of https://github.com/danielqsj/kafka_exporter project)
Error is: kafka_exporter: error: strconv.ParseFloat: parsing "info": invalid syntax, try --help
The cause is this change:
strimzi-kafka-operator/docker-images/kafka/exporter-scripts/kafka_exporter_run.sh
Line 24 in 111d4ba
I'm not sure if verbosity parameter really replaced the log.level parameter of kafka_exporter.
I think it's more an issue in the documentation of kafka_exporter project as log.level disappeared from README.md hence seeming to have been replaced by the new verbosity parameter.
I think that verbosity is more a new parameter that expects anyway an integer value.
log.level seams still to exist.
Beta Was this translation helpful? Give feedback.
All reactions