Skip to content

Commit 0a39b81

Browse files
[fix][fn] JavaInstanceStarter --tls_allow_insecure default to false (#20267)
1 parent f4386c8 commit 0a39b81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/JavaInstanceStarter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public class JavaInstanceStarter implements AutoCloseable {
9999
public String useTls = Boolean.FALSE.toString();
100100

101101
@Parameter(names = "--tls_allow_insecure", description = "Allow insecure tls connection\n")
102-
public String tlsAllowInsecureConnection = Boolean.TRUE.toString();
102+
public String tlsAllowInsecureConnection = Boolean.FALSE.toString();
103103

104104
@Parameter(names = "--hostname_verification_enabled", description = "Enable hostname verification")
105105
public String tlsHostNameVerificationEnabled = Boolean.FALSE.toString();

0 commit comments

Comments
 (0)