You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by rd...@apache.org on 2019/06/29 00:06:56 UTC
[pulsar] branch master updated: [pulsar-broker] make replication
mtls configuration dynamic (#4609)
This is an automated email from the ASF dual-hosted git repository.
rdhabalia 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 fd5d5c2 [pulsar-broker] make replication mtls configuration dynamic (#4609)
fd5d5c2 is described below
commit fd5d5c2f6d755086b3d3081925f2bf86b92db9c0
Author: Rajan Dhabalia <rd...@apache.org>
AuthorDate: Fri Jun 28 17:06:50 2019 -0700
[pulsar-broker] make replication mtls configuration dynamic (#4609)
---
.../src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java b/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
index 9932063..b4c9b1f 100644
--- a/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
+++ b/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
@@ -645,12 +645,14 @@ public class ServiceConfiguration implements PulsarConfiguration {
@FieldContext(
category = CATEGORY_AUTHENTICATION,
+ dynamic = true,
doc = "Authentication settings of the broker itself. \n\nUsed when the broker connects"
+ " to other brokers, either in same or other clusters. Default uses plugin which disables authentication"
)
private String brokerClientAuthenticationPlugin = "org.apache.pulsar.client.impl.auth.AuthenticationDisabled";
@FieldContext(
category = CATEGORY_AUTHENTICATION,
+ dynamic = true,
doc = "Authentication parameters of the authentication plugin the broker is using to connect to other brokers"
)
private String brokerClientAuthenticationParameters = "";
@@ -1102,6 +1104,7 @@ public class ServiceConfiguration implements PulsarConfiguration {
private boolean replicationTlsEnabled = false;
@FieldContext(
category = CATEGORY_REPLICATION,
+ dynamic = true,
doc = "Enable TLS when talking with other brokers in the same cluster (admin operation)"
+ " or different clusters (replication)"
)