#!/bin/bash
kafka_home=/opt/module/kafka
$kafka_home/bin/kafka-topics.sh --zookeeper hadoop102:2181 --create --replication-factor 2 --partitions 5 --topic $1
#!/bin/bash
kafka_home=/opt/module/kafka
$kafka_home/bin/kafka-topics.sh --zookeeper hadoop102:2181 --create --replication-factor 2 --partitions 5 --topic $1
本文标题:黑猴子的家:topic_create.sh
本文链接:https://www.haomeiwen.com/subject/qzlomltx.html
网友评论