重复消费问题
来源:7-2 Consumer之HelloWorld

水桶一号
2021-12-15
在linux服务器上,为什么每次运行这个命令都会消费之前的消息呢?
bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic jyTopic --from-beginning
而通过java客户端的cusumer去拉取消费就不会。
写回答
1回答
-
水桶一号
提问者
2021-12-15
是因为,没有提交吗?
012021-12-18
相似问题