[Bug]kafka组件@KafkaListener装饰器装饰的方法如果返回 true 执行 commit 会报错 #4042
Closed
Yuliang-Lee
started this conversation in
General / 闲聊
Replies: 2 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
问题一:
https://github.com/midwayjs/midway/blob/main/packages/kafka/src/framework.ts#L138
这一行代码的传参有问题,会导致报错
问题二:
这个返回
true
就会触发commit
的逻辑在文档里也没说明,这里建议文档加上或者去掉这个 commit 的逻辑Beta Was this translation helpful? Give feedback.
All reactions