Skip to content

Scripts and configs needed to package Apache Kafka to DEB

Notifications You must be signed in to change notification settings

KlavsKlavsen/kafka-debian

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

Debianization for the Apache Kafka server

The repo contains so called DEBIAN directory with scripts and configs needed to package the Apache Kafka server into a DEB package for the Debian Jessie distro.

The specs are adapted to pre-built Apache Kafka.

Short DEB-packaging HowTo

  1. Download the upstream tarball with pre-built Apache Kafka from the Kafka site; or use uscan to download automatically:

uscan --force-download

  1. Unpack the tarball:

tar zxf kafka-2.11-$version.tar.gz

  1. Copy the debian dir into the upstream sources tree:

cp -r /path/to/the/repo/debian ./kafka-$version/

  1. Build package

cd kafka_2.11-$version && dpkg-buildpackage -b

or (if you do not want to gpg sign on the machine you are building on):

cd kafka_2.11-$version && debuild -b -uc -us

  1. Install package

dpkg --install kafka-$version_all.db

Directory layout:

  • /etc/kafka - configs;
  • /usr/lib/kafka/bin - helper scripts;
  • /var/lib/kafka - PID files and runtime data;
  • /var/log/kafka - log files.

About

Scripts and configs needed to package Apache Kafka to DEB

Resources

Stars

Watchers

Forks

Packages

No packages published