You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/11/12 11:42:53 UTC
[GitHub] codelipenghui opened a new pull request #2977: Fix-2876 Limit the
client reconnect behavior
codelipenghui opened a new pull request #2977: Fix-2876 Limit the client reconnect behavior
URL: https://github.com/apache/pulsar/pull/2977
### Motivation
This PR want to fix issue #2876
Client reconnect too much and load data from bookie to cause the high network bandwidth usage.
Add mechanisms to limit the subscribe per consumer to avoid high network bandwidth usage.
By default, the limit mechanisms is close. Can enable by broker.conf and namespaces policy.
### Modifications
Add mechanisms to limit consumer subscribe times in a period.
### Result
If enable the Subscribe Rate Limiter, broker will refuse a consumer subscribe which subscribe times is over more than max subscribe times in a period.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services