doujiang24 / lua-resty-kafka

Lua kafka client driver for the Openresty based on the cosocket API
BSD 3-Clause "New" or "Revised" License
803 stars 277 forks source link

feat: extend existing error list and retryability #128

Closed bzp2010 closed 2 years ago

bzp2010 commented 2 years ago

Expanded error list by existing protocol error codes.

Reference: https://kafka.apache.org/protocol.html#protocol_error_codes

bzp2010 commented 2 years ago

Update

A description of the multiple error scenarios has been added, so you can check if the presentation is correct.

ping @doujiang24

doujiang24 commented 2 years ago

@bzp2010 the CI failed, please check it, seems there is a bug?

bzp2010 commented 2 years ago

@bzp2010 the CI failed, please check it, seems there is a bug?

@doujiang24 Yes, I have fixed it and now waiting for the new CI test results.