kafka更新偏移量指令

12 阅读1分钟

kafka-consumer-groups.sh --bootstrap-server localhost:9092 --all-groups --reset-offsets --to-latest --all-topics --execute 全部更新

kafka-consumer-groups.sh --bootstrap-server localhost:9092 --group <> --reset-offsets --to-latest --all-topics --execute 指定group