#
bin/kafka-server-start.sh /opt/kafka_2.11-0.10.2.0/config/server.properties >/dev/null 2>&1 &
#
bin/kafka-topics.sh --create --zookeeper 192.168.1.71:2181/kafka --replication-factor 1 --partitions 1 --topic mykafka
#
bin/kafka-topics.sh --alter --zookeeper 192.168.1.71:2181/kafka --partitions 6 --topic mykafka
#
bin/kafka-topics.sh --list --zookeeper 192.168.1.71:2181/kafka
bin/kafka-topics.sh --describe --zookeeper 192.168.1.71:2181/kafka --topic mykafka
#
bin/kafka-console-producer.sh --broker-list 192.168.1.71:9092 --topic mykafka
#
bin/kafka-console-consumer.sh --zookeeper 192.168.1.71:2181/kafka --topic mykafka --from-beginning