摘要: 自动提交,手动提交(异步提交,同步提交,异步同步结合提交),原理:提交后,重新消费消息位移发生变化。 1 public class MyConsumer { 2 3 private static KafkaConsumer<String, String> consumer; 4 private st 阅读全文
posted @ 2024-05-02 12:26 开源遗迹 阅读(13) 评论(0) 推荐(0) 编辑