lhotari commented on code in PR #15723:
URL: https://github.com/apache/pulsar/pull/15723#discussion_r880183153
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java:
##########
@@ -1210,6 +1211,11 @@ public PulsarClient getReplicationClient(String cluster,
Optional<ClusterData> c
clientBuilder.listenerName(data.getListenerName());
log.info("Configuring listenerName {}",
data.getListenerName());
}
+
+ // Set memory limit for replication client
+
clientBuilder.memoryLimit(pulsar.getConfiguration().getReplicationClientMemoryLimitBytes(),
+ SizeUnit.BYTES);
Review Comment:
The other location in PulsarService is now handled too.
--
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]