Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问大佬这个是什么原因呢? #145

Open
ZYL19960322 opened this issue Dec 3, 2022 · 1 comment
Open

请问大佬这个是什么原因呢? #145

ZYL19960322 opened this issue Dec 3, 2022 · 1 comment

Comments

@ZYL19960322
Copy link

2022/11/28 13:52:07 [error] 2284#0: *37000 lua entry thread aborted: runtime error: /usr/hello/lualib/resty/kafka/response.lua:72: bad argument #1 to 'lshift' (number expected, got nil)
stack traceback:
coroutine 0:
[C]: in function 'lshift'
/usr/hello/lualib/resty/kafka/response.lua:72: in function 'int32'
/usr/hello/lualib/resty/kafka/client.lua:80: in function 'metadata_decode'
/usr/hello/lualib/resty/kafka/client.lua:187: in function '_fetch_metadata'
/usr/hello/lualib/resty/kafka/client.lua:265: in function 'fetch_metadata'
/usr/hello/lualib/resty/kafka/producer.lua:123: in function 'choose_partition'
/usr/hello/lualib/resty/kafka/producer.lua:378: in function 'send'
/usr/hello/lua/product.lua:27: in main chunk, client: 192.168.31.77, server: _, request: "GET /product?productId=3&shopId=14 HTTP/1.1", host: "192.168.31.142"

@hongliang5316
Copy link
Collaborator

hongliang5316 commented Dec 4, 2022

@ZYL19960322 看起来是协议问题, 试试调整下这个参数呢
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants