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 2021/05/01 22:40:50 UTC

[GitHub] [pulsar] merlimat commented on a change in pull request #7406: Improved in max-pending-bytes mechanism for broker

merlimat commented on a change in pull request #7406:
URL: https://github.com/apache/pulsar/pull/7406#discussion_r624575902



##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java
##########
@@ -269,18 +267,13 @@
     private Channel listenChannelTls;
 
     private boolean preciseTopicPublishRateLimitingEnable;
-    private final long maxMessagePublishBufferBytes;
-    private final long resumeProducerReadMessagePublishBufferBytes;
-    private volatile boolean reachMessagePublishBufferThreshold;
+    private final AtomicInteger pausedConnections = new AtomicInteger();

Review comment:
       Good point, changed that.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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