mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-25 10:10:32 -06:00
Allow to connect to Pulsar cluster with non-admin tokens
This commit is contained in:
parent
3b184a0c23
commit
5064ab3493
@ -76,9 +76,9 @@ public class PulsarSpace {
|
||||
CollectionUtils.addAll(pulsarClusterMetadata, stringList.listIterator());
|
||||
|
||||
} catch (PulsarAdminException e) {
|
||||
String errMsg = "Fail to create PulsarClient from global configuration: " + e.getMessage();
|
||||
logger.error(errMsg);
|
||||
throw new RuntimeException(errMsg);
|
||||
// this is okay if you are connecting with a token that does not have access to the
|
||||
// system configuration
|
||||
logger.info("Could not get list of Pulsar Clusters from global configuration: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user