liudezhi2098 opened a new issue #7457:
URL: https://github.com/apache/pulsar/issues/7457
when zookeeperServers and configurationStoreServers is different
```bash
zookeeperServers=127.0.0.1:2181
configurationStoreServers= 127.0.0.2:2181
```
the bookie client is created, it fails because the bookie cluster metadata
information cannot be found。
```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]