-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
请教一个kafka 11错误码的问题 #1581
Comments
应该就是连接不够了。你的broker太少吧? |
https://kafka.apache.org/documentation/#producerconfigs_acks |
之前好像也和你讨论过这个问题。produce_acks是可以配置的,文档里有: |
试过了 没效果 |
对,有可能是等ack。我们在acks为0的时候,也应该会正常等待broker返回的。acks这个参数是用在通信上的,需要等broker那边处理完给结果。 |
我这边使用kafka客户端会持续获得EAGAIN的错误码,压力大概在180pps,发送流量在60Mbps 到 80Mbps。
发现这种情况后调整max_connections 从300调整到500 并没有明显改善。netstat看发送队列没有挤压。
请教下11的错误码只在最大连接数不够的时候返回的吗
The text was updated successfully, but these errors were encountered: