Kafka
- By Canonical Data Platform
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
3/stable | 156 | 27 Feb 2024 | |
3/candidate | 156 | 27 Feb 2024 | |
3/beta | 156 | 27 Feb 2024 | |
3/edge | 180 | 19 Aug 2024 |
juju deploy kafka --channel 3/stable
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
22.04
File system path
In the following table, we summarize some of the most relevant file paths used in the Kafka and ZooKeeper charms.
Kafka
Path | Description | Permission |
---|---|---|
/snap/charmed-kafka/current/opt/kafka |
Binary files for the Charmed Kafka distribution. Note that this is a read-only Squashfs file system. | (read-only) |
/snap/charmed-kafka/current/opt/kafka/bin/*.sh |
General bash scripts to provide helpers and utilities for managing and interacting with Kafka. | (read-only) |
/var/snap/charmed-kafka/current/etc/kafka/ |
Configuration files used by Kafka daemon process. These files are generally written and managed by the charm. | (owned by snap_daemon , managed by charm ) |
/var/snap/charmed-kafka/common/var/log/kafka/ |
Application Logging files generated by the Kafka daemon process. These files are written by the workload, but they may be read by other components to provide monitoring (for example, Grafana or other charms). | (owned and managed by snap_daemon ) |
/var/snap/charmed-kafka/common/var/lib/kafka/ |
Raw data stored persistently by Kafka during its operations. The files are written and managed by Kafka only. | (owned and managed by snap_daemon ) |
External storage is used for storing persistent raw data that is mounted at /var/snap/charmed-kafka/common/var/lib/kafka/<storage-id>
, with <storage-id>
being a progressive number.
Multiple storage volumes can be used for providing both horizontal scalability and provide IO parallelisation to enhance throughput.
ZooKeeper
Path | Description | Permission |
---|---|---|
/snap/charmed-zookeeper/current/opt/zookeeper |
Binary files for the Charmed ZooKeeper distribution. Note that this is a readonly squashfs file system. | (read-only) |
/snap/charmed-zookeeper/current/opt/zookeeper/bin/*.sh |
General bash scripts to provide helpers and utilities for managing and interacting with ZooKeeper. | (read-only) |
/var/snap/charmed-zookeeper/current/etc/zookeeper/ |
Configuration files used by ZooKeeper daemon process. These files are generally written and managed by the charm. | (owned by snap_daemon , managed by charm ) |
/var/snap/charmed-zookeeper/common/var/log/zookeeper/ |
Application Logging files generated by the ZooKeeper daemon process. These files are written by the workload, but they may be read by other components to provide monitoring (for example, Grafana or other charms). | (owned and managed by snap_daemon ) |
/var/snap/charmed-zookeeper/common/var/lib/zookeeper/ |
Raw data stored persistently by ZooKeeper during its operations. The files are written and managed by ZooKeeper only. | (owned and managed by snap_daemon ) |
External storage is used for storing persistent raw data, and it is
mounted at /var/snap/charmed-kafka/common/var/lib/zookeeper
.