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

关于consumer 安全消费的问题 #117

Open
mylovemaliang opened this issue Apr 10, 2015 · 1 comment
Open

关于consumer 安全消费的问题 #117

mylovemaliang opened this issue Apr 10, 2015 · 1 comment

Comments

@mylovemaliang
Copy link

订阅的时候 maxsize 设置过小,会影响安全消费吗? maxsize 和 fetchRunnerCount 怎么设置合理?消费的时候要注意些什么?

@wq163
Copy link
Collaborator

wq163 commented Oct 20, 2015

如果有过大的单条消息则会影响。有时候还要根据消费能力作适当调整,例如消费很慢并且未使用消费线程池的情况下maxsize不宜设置过大,否则可能引起负载均衡失败现象(因为要等一个节点把拉倒本地的数据消费完才释放分区,而另一个节点尝试多次不成功就放弃了)

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