liudezhi2098 opened a new pull request #7458:
URL: https://github.com/apache/pulsar/pull/7458
Master Issue: #7457
## Motivation
when zookeeperServers and configurationStoreServers is different , the
bookieMetadataServiceUri is incorrectly obtained
## Modifications
BrokerService
```java
public static String bookieMetadataServiceUri(ServiceConfiguration
config) {
ClientConfiguration bkConf = new ClientConfiguration();
// init bookkeeper metadata service uri
String metadataServiceUri = null;
try {
String zkServers = config.getConfigurationStoreServers();
bkConf.setZkServers(zkServers);
metadataServiceUri = bkConf.getMetadataServiceUri();
} catch (ConfigurationException e) {
LOG.error("Failed to get bookkeeper metadata service uri", e);
}
return metadataServiceUri;
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]