codelipenghui commented on code in PR #24424:
URL: https://github.com/apache/pulsar/pull/24424#discussion_r2152798873
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/nonpersistent/NonPersistentReplicator.java:
##########
@@ -54,8 +54,8 @@ public NonPersistentReplicator(NonPersistentTopic topic,
String localCluster, St
super(localCluster, topic, remoteCluster, topic.getName(),
topic.getReplicatorPrefix(), brokerService,
replicationClient);
+ producerBuilder.maxPendingMessages(2000);
Review Comment:
Should we use `1000`? Just keep it the same as the default value.
And it's better to add a description for the expected behavior if the queue
is full.
--
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]