springboot 集成kafka 实现的功能: 1.指定topic,Partition 发送消息 2.指定topic,Partition ,offset 订阅消息 3.实现广播消费 4.消息确认机制 kafka的详细介绍 这篇文章很详 细 https://gitbook.cn/books/5bc446269a9adf54c7ccb8bc/index.html springboot集成kafka的demo ,代码github相关地址: https://github.com/475cheng/kafka-demo-cheng