kafka/bin/kafka-server-start.sh

12 lines
208 B
Bash
Raw Normal View History

#!/bin/bash
if [ $# -lt 1 ];
then
echo "USAGE: $0 server.properties [consumer.properties producer.properties]"
exit 1
fi
export JMX_PORT=${JMX_PORT:-9999}
$(dirname $0)/kafka-run-class.sh kafka.Kafka $@