Skip to content

Init.d scripts for Kafka. Will work out of the box with Confluent Data Platform.

License

Notifications You must be signed in to change notification settings

eljefe6a/kafkainitd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka init.d

init.d scripts for Kafka. Will work out of the box with Confluent Data Platform or mainline Kafka.

Using the Scripts

  1. Clone this repository.
  2. Go to the cloned repository cd kafkainitd
  3. Give the scripts execute permissions:
sudo chmod 0755 zookeeper
sudo chmod 0755 kafka-server
sudo chmod 0755 schema-registry
sudo chmod 0755 kafka-rest
  1. Copy the scripts to init.d:
sudo cp zookeeper /etc/init.d
sudo cp kafka-server /etc/init.d
sudo cp schema-registry /etc/init.d
sudo cp kafka-rest /etc/init.d
  1. Set them to run at boot:
sudo update-rc.d zookeeper defaults
sudo update-rc.d kafka-server defaults
sudo update-rc.d schema-registry defaults
sudo update-rc.d kafka-rest defaults 91

Note: If you're just using Kafka, don't run the commands for schema-registry or kafka-rest and possibly zookeeper.

About

Init.d scripts for Kafka. Will work out of the box with Confluent Data Platform.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages