Skip to content

Instantly share code, notes, and snippets.

View maxotek's full-sized avatar

Partho Sarathi maxotek

View GitHub Profile
@maxotek
maxotek / kafka-service-script
Last active April 3, 2018 04:45 — forked from mottyc/kafka-service-script
Kafka service script (copy to file: /etc/init.d/kafka)
#! /bin/bash
# /etc/init.d/kafka: start the kafka daemon.
# chkconfig: - 80 20
# description: kafka
KAFKA_HOME=/root/kafka
KAFKA_USER=root
KAFKA_SCRIPT=$KAFKA_HOME/bin/kafka-server-start.sh
KAFKA_CONFIG=$KAFKA_HOME/config/server.properties