You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2022/06/23 18:11:49 UTC

[pulsar] branch master updated: [improve][cli] Perf: Align hostname-verification to be the same as pulsar-admin (#16194)

This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 1dd489c2647 [improve][cli] Perf: Align hostname-verification to be the same as pulsar-admin (#16194)
1dd489c2647 is described below

commit 1dd489c2647ef114b4eaa31452225e5b541c39f2
Author: Nicolò Boschi <bo...@gmail.com>
AuthorDate: Thu Jun 23 20:11:40 2022 +0200

    [improve][cli] Perf: Align hostname-verification to be the same as pulsar-admin (#16194)
---
 .../java/org/apache/pulsar/testclient/PerformanceBaseArguments.java     | 2 +-
 site2/docs/reference-cli-tools.md                                       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pulsar-testclient/src/main/java/org/apache/pulsar/testclient/PerformanceBaseArguments.java b/pulsar-testclient/src/main/java/org/apache/pulsar/testclient/PerformanceBaseArguments.java
index 9c66d71ca6e..cb4f9137ac9 100644
--- a/pulsar-testclient/src/main/java/org/apache/pulsar/testclient/PerformanceBaseArguments.java
+++ b/pulsar-testclient/src/main/java/org/apache/pulsar/testclient/PerformanceBaseArguments.java
@@ -55,7 +55,7 @@ public abstract class PerformanceBaseArguments {
     public Boolean tlsAllowInsecureConnection = null;
 
     @Parameter(names = {
-            "--tls-hostname-verification" }, description = "Enable TLS hostname verification")
+            "--tls-enable-hostname-verification" }, description = "Enable TLS hostname verification")
     public Boolean tlsHostnameVerificationEnable = null;
 
     @Parameter(names = { "-c",
diff --git a/site2/docs/reference-cli-tools.md b/site2/docs/reference-cli-tools.md
index 19a9f808e23..4678cd59724 100644
--- a/site2/docs/reference-cli-tools.md
+++ b/site2/docs/reference-cli-tools.md
@@ -551,7 +551,7 @@ Commands `consume`, `produce`, `read` and `transaction` share the following clie
 |`--listener-name`|Listener name for the broker||
 |`-lt`, `--num-listener-threads`|Set the number of threads to be used for message listeners|1|
 |`--tls-allow-insecure`|Allow insecure TLS connection||
-|`--tls-hostname-verification`|Enable TLS hostname verification||
+|`--tls-enable-hostname-verification`|Enable TLS hostname verification||
 |`--trust-cert-file`|Path for the trusted TLS certificate file||
 |`-u`, `--service-url`|Pulsar service URL||