KafkaConnect in CrashloopBackOff with Custom image and operator 0.47.0 Kafka 3.9.0 error FileNotFoundException log4j #11701
totochichi
started this conversation in
General
Replies: 1 comment 13 replies
-
Hey, you are using this custom image with Strimzi 0.45.0? |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all, I am trying to install Kafka connect with Strimzi operator 0.47.0 and Kafka 3.9.0, using custom plugin, but my Connect pods are stuck in CrashLoopBackOff with the error message
log4j:ERROR Could not read configuration file from URL [file:/opt/kafka/custom-config/log4j.properties].
I am not aware of any changes from Kafka 3.8.0 to 3.9.0 that could have altered how log4j config is read. I ensured strimzi Operator is consisted with the base image being used in either scenario.
Has anyone seen something similar to this?
The image with Connect version 0.45.0-kafka-3.8.0 worked well on Strimzi 0.45.0, but I am trying to check backward compatibility if I was to upgrade to v47 and use K8s ImageVolume in the future.
Below is the DockerImage template I'm using, with strimzi Connect version updated based on the current Operator.
Here is the KafkaConnect pods logs. Not sure why it cannot see the log4j.properties as I was able to cat it when exec-ed into the kafka broker container.
Beta Was this translation helpful? Give feedback.
All reactions