Github user Jaskey commented on a diff in the pull request:
https://github.com/apache/incubator-rocketmq/pull/66#discussion_r103139919
--- Diff:
client/src/main/java/org/apache/rocketmq/client/consumer/DefaultMQPushConsumer.java
---
@@ -166,11 +166,16 @@
private int consumeConcurrentlyMaxSpan = 2000;
/**
- * Flow control threshold
+ * Flow control threshold on queue level
*/
private int pullThresholdForQueue = 1000;
/**
+ * Flow control threshold on topic level, should be greater or equals
than pullThresholdForQueue
+ */
+ private int pullThresholdForTopic = 2000;
--- End diff --
Then the topic flow control will happen first, so no threadhold of queue
will be reached
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---