dongeforever commented on code in PR #4553:
URL: https://github.com/apache/rocketmq/pull/4553#discussion_r916497313


##########
client/src/main/java/org/apache/rocketmq/client/producer/DefaultMQProducer.java:
##########
@@ -133,6 +133,11 @@ public class DefaultMQProducer extends ClientConfig 
implements MQProducer {
      */
     private TraceDispatcher traceDispatcher = null;
 
+    /**
+     * Indicate whether to block message when asynchronous sending traffic is 
too heavy.
+     */
+    private boolean enableBackpressureForAsyncMode = true;
+

Review Comment:
   By default, this argument should be false to behave as the old client.
   
   And the same time, we could suggest setting enableBackpressureForAsyncMode 
to true in the example code.



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