kafak run

#!/bin/bash

source /home/hadoop/.environment

KAFKA_HOME=/home/hadoop/kafka
JMX_PORT=56792
export JMX_PORT
NOW=`date "+%Y-%m-%d-%H-%M-%S"`
$KAFKA_HOME/bin/kafka-server-start.sh $KAFKA_HOME/config/server.properties >> /home/hadoop/log/kafka/stdout.server.${NOW}.log 2>&1

相关推荐