lua-resty-kafka icon indicating copy to clipboard operation
lua-resty-kafka copied to clipboard

client 生产消息未携带时间戳

Open firefliesx opened this issue 3 years ago • 3 comments
trafficstars

produce.lua line65 request.API_VERSION_V1 应该修改为手动传入的 self.api_version, 否则在 request.lua line 241 处的 message_version 为 0, request.lua line 194 message_package 不会走有时间戳的分支,导致没有生产的消息没有时间戳。

firefliesx avatar May 25 '22 07:05 firefliesx

好人啊,可行

fireflyhoo avatar May 26 '22 08:05 fireflyhoo

@firefliesx 👍🏻 欢迎贡献 PR~

doujiang24 avatar May 26 '22 08:05 doujiang24

@doujiang24 好的,马上提 PR

firefliesx avatar May 28 '22 07:05 firefliesx