merlimat commented on code in PR #15724:
URL: https://github.com/apache/pulsar/pull/15724#discussion_r879724680


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/AbstractReplicator.java:
##########
@@ -83,6 +83,7 @@ public AbstractReplicator(String topicName, String 
replicatorPrefix, String loca
                 .enableBatching(false)
                 .sendTimeout(0, TimeUnit.SECONDS) //
                 .maxPendingMessages(producerQueueSize) //
+                .blockIfQueueFull(true)

Review Comment:
   We need to find a better solution to have a broker-wide flow control 
mechanism for replicators that can be tied to the client memory limit.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to