Skip to content

Unofficial snap package for Apache Kafka

License

Notifications You must be signed in to change notification settings

phvalguima/kafka-snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Unofficial snap package for Apache Kafka

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages