之前写项目的时候需要通过 Java API 实现 Consumer 每次都从最开始消费,也就是将 Kafka topic 下所有 partition 的 offset 重置到最初位置。
Mar 6, 2018