pulsar
pulsar copied to clipboard
[fix][broker] Fix geo-replication admin client url
Motivation
When we only set the TLS URLs for ClusterData and set the brokerClientTlsEnabled to true, the admin client for geo-replication will be failed to create because the else if block(StringUtils.isEmpty(data.getServiceUrl())) logic is wrong.
Modifications
- Allow the cluster data only set tls url
Documentation
- [ ]
doc - [ ]
doc-required - [x]
doc-not-needed - [ ]
doc-complete