前提条件: 相关所有消费服务必须停止。 因为消费者在消费完一条消息之后,会自动将offset提交,那么如果我们在重置offset的时候,不停止消费者,假设消费者当前正好在消费一条消息(offset=6666),然后我们此...
kafka
kafka2配置项auto.offset.reset失效问题
来自kafka官网的解释: auto.offset.reset: What to do when there is no initial offset in Kafka or if the current offset does not exist any more on the server (e.g. because that data has been delet...
Kafka2安装
http://kafka.apache.org/documentation.html#quickstart 环境 =============================== KAFKA版本:2.0.1 部署主机IP:192.168.99.26 版本兼容见https://spring.io/projects/spring-ka...