Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.04 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.04 KB

Kafka Snap

This repository is for experimenting with packaging Apache Kafka as a snap, using the upstream binary releases.

Testing

To get started using/testing the snap (assuming you have snapcraft already):

# Kafka requires a Zookeeper to start properly. This 'zk' snap was already in the store, and
# seems to satisfy the requirement enough for testing!
$ sudo snap install zk --beta

# Build this snap
$ git clone https://github.com/jnsgruk/kafka-snap
$ cd kafka-snap
$ snapcraft --use-lxd

# Install the snap
sudo snap install --dangerous kafka_3.2.0_amd64.snap

# Check the logs
sudo snap logs -nall kafka:kafka

# Ensure the metrics scraping is working correctly
curl http://localhost:7071

TODO

  • Minimum viable Kafka launch!
  • Prometheus exporter integration
  • Automated build in Github Actions
  • Configurable JVM memory parameters using snap set/snap get
  • Configurable Zookeeper instance using snap set/snap get
  • Automated testing in Github Actions