Open nikmarch opened 3 years ago
In the latest versions of the connector I see this
/usr/share/confluent-hub-components/confluentinc-kafka-connect-elasticsearch/lib/log4j-core-2.17.1.jar
/usr/share/confluent-hub-components/confluentinc-kafka-connect-elasticsearch/lib/log4j-api-2.17.1.jar
Hey, I deploy my connector as docker image to Kubernetes. When I set
CONNECT_LOG4J_ROOT_LOGLEVEL: ERROR
the connector throws an error:I was able to fix it by adding the jar and got another error:
So I need to set
LOG4J_CONFIGURATION_FILE: "/etc/kafka/log4j2.properties"
and copy the property file to the Image as well. Here is my Dockerfile:I fixed my problem, but it would be nice to have the jar included into the kafka-connect-elasticsearch plugin