---
title: Charmhub | Deploy Apache Kafka Connect using Charmhub - The Open Operator Collection
description: Deploy the latest version of Apache Kafka Connect on any cloud.
url: https://charmhub.io/kafka-connect/docs/r-file-system-paths
---

# Apache Kafka Connect

[Canonical](https://charmhub.io/publisher/data-platform "View all packages from Canonical")

* [Canonical](https://charmhub.io/publisher/data-platform "View all packages from Canonical")

Platform:

24.04

22.04

4/stable 37

```
juju deploy kafka-connect --channel 4/stable
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

---

#### Relevant links

* [Homepage](https://github.com/canonical/kafka-connect-operator)

---

#### Contacts

##### Maintainers

+ [Canonical Data Platform](mailto:data-platform@lists.launchpad.net)

* [Submit a bug](https://github.com/canonical/kafka-connect-operator/issues)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

# 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](https://charmhub.io/kafka-connect/docs/r-file-system-paths#p-30275-apache-kafka)

| Path | Description | Permission |
| --- | --- | --- |
| `/snap/charmed-kafka/current/opt/kafka` | Binary files for the Charmed Apache 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 Apache Kafka. | (read-only) |
| `/var/snap/charmed-kafka/current/etc/kafka/` | Configuration files used by Apache 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 Apache 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 Apache Kafka during its operations. The files are written and managed by Apache 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.

## [Apache ZooKeeper](https://charmhub.io/kafka-connect/docs/r-file-system-paths#p-30275-apache-zookeeper)

| Path | Description | Permission |
| --- | --- | --- |
| `/snap/charmed-zookeeper/current/opt/zookeeper` | Binary files for the Charmed Apache 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 Apache ZooKeeper. | (read-only) |
| `/var/snap/charmed-zookeeper/current/etc/zookeeper/` | Configuration files used by Apache 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 Apache 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 Apache ZooKeeper during its operations. The files are written and managed by Apache 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`.

---
