A set of scripts to package kafka into an rpm.
Requires CentOS/RedHat 7 or Docker.
sudo yum install make rpmdevtools wget
or Docker.
make rpm
or use Docker
docker build -t kafka-build . && docker run -ti -v $(pwd)/RPMS:/root/RPMS kafka-build
Resulting RPM will be available at $(shell pwd)/RPMS/x86_64
sudo yum install kafka*.rpm
sudo systemctl start kafka
sudo systemctl enable kafka
binaries: /opt/kafka
data: /var/lib/kafka
logs: /var/log/kafka
configs: /etc/kafka, /etc/sysconfig/kafka