设为首页 加入收藏

TOP

消费和生产--from-beginning 带和没带区别
2018-12-17 02:31:51 】 浏览:863
Tags:消费 生产 --from-beginning 区别
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/wangshuminjava/article/details/80143204
[wangshumin@centoshostnameKL1 kafka_2.11-0.9.0.1]$ kafka-console-producer.sh --broker-list centoshostnameKL1:9092,centoshostnameKL2:9092,centoshostnameKL3:9092 --topic kafkaTopic
hhhh
jjj
kk
kk
kk
kk
kk
kk
kkl
k
wangshumingggggggggg
^[[A
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[wangshumin@centoshostnameKL3 bin]$ kafka-console-consumer.sh --topic kafkaTopic --zookeeper centoshostnameKL1:2181,centoshostnameKL2:2181,centoshostnameKL3:2181 --from-beginning
jjj
hhhh
kk
kk
kk
kk
kk
kk
kkl
k
^CProcessed a total of 10 messages
[wangshumin@centoshostnameKL3 bin]$ kafka-console-consumer.sh --topic kafkaTopic --zookeeper centoshostnameKL1:2181,centoshostnameKL2:2181,centoshostnameKL3:2181
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇kafka的分区分配策略 下一篇Kafka整合Spring Cloud

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目