tisonkun commented on code in PR #19434:
URL: https://github.com/apache/pulsar/pull/19434#discussion_r1102190559
##########
pulsar-client-tools/src/main/java/org/apache/pulsar/client/cli/PulsarClientTool.java:
##########
@@ -76,6 +76,9 @@ public static class RootParams {
@Parameter(names = { "--tlsTrustCertsFilePath" }, description = "File
path to client trust certificates")
String tlsTrustCertsFilePath;
+
+ @Parameter(names = { "-m", "--memory", }, description = "Configure the
Pulsar client memory limit")
+ Long memory=0L;
Review Comment:
@lhotari @nicoloboschi Does our CLI tools already provide such
functionality? I can read `broker.conf` options like:
```ini
# For Amazon S3 ledger offload, Max block size in bytes. (64MB by default,
5MB minimum)
s3ManagedLedgerOffloadMaxBlockSizeInBytes=67108864
# For Amazon S3 ledger offload, Read buffer size in bytes (1MB by default)
s3ManagedLedgerOffloadReadBufferSizeInBytes=1048576
```
--
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]