kafka消费能力不足,消息积压太多,现需要重置消费,使其消费最新的数据
kafka-consumer-groups.sh --bootstrap-server localhost:9092 --group test_topic_group1 --reset-offsets --topic test_topic --to-latest --execute
Kafka 数据积压及日志存储和清理
微信扫一扫
kafka消费能力不足,消息积压太多,现需要重置消费,使其消费最新的数据
kafka-consumer-groups.sh --bootstrap-server localhost:9092 --group test_topic_group1 --reset-offsets --topic test_topic --to-latest --execute
Kafka 数据积压及日志存储和清理
相关推荐