[root@slave3~]# kafka-consumer-groups.sh--bootstrap-server master:9092--group sys --topic event --reset-offsets --shift-by -100--execute 5 创建topic: [root@slave3 bin]# kafka-topics.sh--zookeeper slave1:2181,slave2,slave3 --create --topic mytest --partitions3--replication-factor3#...
[root@slave3 ~]# kafka-consumer-groups.sh --bootstrap-server master:9092 --group sys --topic event --reset-offsets --shift-by -100 --execute 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 5 创建topic: [root@slave3 bin]# kafka-topics.sh --zookeeper slave1:2181,slave2,slave3 --creat...
Kafka十大常用命令查看修改偏移量创建删除topic等 kafka集群搭建: 1 查看有哪些group: 1 [root@slave3 bin]# kafka-consumer-groups.sh --bootstrap-server master:9092 --list 2 Note: This will not show information about old Zookeeper-based consumers. 3 4 sys 5 console-consumer-5032 6 console-...
Kafka⼗⼤常⽤命令查看修改偏移量创建删除topic等kafka集群搭建:1 查看有哪些group:1 [root@slave3 bin]# kafka-consumer-groups.sh --bootstrap-server master:909 2 --list 2 Note: This will not show information about old Zookeeper-based consumers.3 4 sys 5 console-consumer-5032 6 console-...