Skip to content

A set of scripts to package Apache Kafka into an rpm (CentOS/RedHat 7)

Notifications You must be signed in to change notification settings

millin/kafka-el7-rpm

 
 

Repository files navigation

kafka-redhat7-rpm

A set of scripts to package kafka into an rpm.

Requires CentOS/RedHat 7 or Docker.

Prerequisites

sudo yum install make rpmdevtools wget

or Docker.

Building

make rpm

Building with Docker

Manually

docker build -t kafka-build . && docker run -ti -v $(pwd)/RPMS:/root/RPMS kafka-build

Make command

make docker-rpm

Resulting RPM will be available at $(shell pwd)/RPMS/x86_64

Installing and operating

sudo yum install kafka*.rpm
sudo systemctl start kafka
sudo systemctl enable kafka

Default locations

binaries: /opt/kafka
data: /var/lib/kafka
logs: /var/log/kafka
configs: /etc/kafka, /etc/sysconfig/kafka

About

A set of scripts to package Apache Kafka into an rpm (CentOS/RedHat 7)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 75.6%
  • Dockerfile 24.4%