首页
新闻
博问
助园
闪存
班级
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
zhaoshizi
博客园
首页
新随笔
联系
订阅
管理
2020年2月24日
Kafka批量消费问题:A parameter of type 'List<ConsumerRecord>' must be the only parameter
摘要: 使用kafka单笔消费时,listener函数写成如下方式是可以正常执行的 @KafkaListener(topics = "dealmsg", id = "dealmsggroup") public String ReciveMsg(ConsumerRecord<?, ?> record, Kaf
阅读全文
posted @ 2020-02-24 00:18 zhaoshizi
阅读(1825)
评论(0)
推荐(0)
编辑