You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "heesung-sn (via GitHub)" <gi...@apache.org> on 2023/02/28 05:18:10 UTC

[GitHub] [pulsar] heesung-sn commented on a diff in pull request #19654: [improve][broker] PIP-192 Added --extensions option in BrokerMonitor

heesung-sn commented on code in PR #19654:
URL: https://github.com/apache/pulsar/pull/19654#discussion_r1119585362


##########
pulsar-testclient/src/main/java/org/apache/pulsar/testclient/BrokerMonitor.java:
##########
@@ -464,6 +474,71 @@ public void start() {
         }
     }
 
+    private TableView<BrokerLoadData> brokerLoadDataTableView;
+
+    private BrokerMonitor(String brokerServiceUrl) {
+        try {
+            PulsarClient client = PulsarClient.builder()
+                    .memoryLimit(0, SizeUnit.BYTES)
+                    .serviceUrl(brokerServiceUrl)

Review Comment:
   It is odd that this command suddenly supports auth parameters with this change, and that the original zk connection will not support the auth params.
   
   We can assert that these auth params can be provided only when the --extensions is on. 
   
   I will update this PR.



-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org