Apache Kafka Connect - K8s

Canonical Publisher

Platform:

Channel Revision Published Runs on
latest/edge 17 16 Feb 2026
Ubuntu 22.04
4/stable 18 14 Apr 2026
Ubuntu 24.04
4/candidate 18 14 Apr 2026
Ubuntu 24.04
4/beta 18 14 Apr 2026
Ubuntu 24.04
4/edge 18 12 Apr 2026
Ubuntu 24.04
juju deploy kafka-connect-k8s --channel 4/stable

File system path

In the following table, we summarize some of the most relevant file paths used in the Apache Kafka and Apache ZooKeeper charms.

Apache Kafka

Path Description Permission
/opt/kafka Binary files for the Charmed Apache Kafka distribution. Note that this is a read-only Squashfs file system. (owned by kafka)
/opt/kafka/bin/*.sh General bash scripts to provide helpers and utilities for managing and interacting with Apache Kafka. (owned by kafka)
/etc/kafka/ Configuration files used by Apache Kafka daemon process. These files are generally written and managed by the charm. (owned by kafka, managed by root)
/var/log/kafka/ Application Logging files generated by the Apache Kafka daemon process. These files are written by the workload, but they may be read by other components to provide monitoring (e.g. Grafana and/or charm). (owned and managed by kafka)
/var/lib/kafka/ Raw data is stored persistently by Apache Kafka during its operations. The files are written and managed by Apache Kafka only. (owned and managed by kafka)

Apache ZooKeeper

Path Description Permission
/opt/zookeeper Binary files for the Charmed Apache ZooKeeper distribution. Note that this is a read-only Squashfs file system. (owned by zookeeper)
/opt/zookeeper/bin/*.sh General bash scripts to provide helpers and utilities for managing and interacting with Apache ZooKeeper. (owned by zookeeper)
/etc/zookeeper/ Configuration files used by Apache ZooKeeper daemon process. These files are generally written and managed by the charm. (owned by zookeeper, managed by root)
/var/log/zookeeper/ Application Logging files generated by the Apache ZooKeeper daemon process. These files are written by the workload, but they may be read by other components to provide monitoring (e.g. Grafana and/or charm). (owned and managed by zookeeper)
/var/lib/zookeeper/ Raw data is stored persistently by Apache ZooKeeper during its operations. The files are written and managed by Apache ZooKeeper only. (owned and managed by zookeeper)

External storage is used for storing persistent raw data, and it is
mounted at /var/lib/zookeeper.


Help improve this document in the forum (guidelines). Last updated 1 year, 5 months ago.