Skip to content

Instantly share code, notes, and snippets.

@denzhel
Last active June 13, 2022 12:42
Show Gist options
  • Select an option

  • Save denzhel/a5aa98c26bf32db8dda41cca6ab916ab to your computer and use it in GitHub Desktop.

Select an option

Save denzhel/a5aa98c26bf32db8dda41cca6ab916ab to your computer and use it in GitHub Desktop.
Debug mode for Kafka Connect

If you want to debug your deployment of kafka-connect, pass in the env variable or edit the K8s deployment:

- name: CONNECT_LOG4J_LOGGERS
  value: org.apache.kafka.connect=DEBUG

You can also use multiple loggers:

- name: CONNECT_LOG4J_LOGGERS
  value: "log4j.logger.io.confluent.inbound-kafka-to-s3=DEBUG,org.apache.kafka.connect=DEBUG"

#kafka-connect #kubernetes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment