Skip to content

Commit

Permalink
[pulsar-broker] make replication mtls configuration dynamic (#4609)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdhabalia committed Jun 29, 2019
1 parent 20d2499 commit fd5d5c2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";
Expand Down Expand Up @@ -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)"
)
Expand Down

0 comments on commit fd5d5c2

Please sign in to comment.