poorbarcode commented on code in PR #21972:
URL: https://github.com/apache/pulsar/pull/21972#discussion_r1468900120
##########
pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyServiceStarter.java:
##########
@@ -162,11 +162,17 @@ public ProxyServiceStarter(String[] args) throws
Exception {
if (isNotBlank(config.getBrokerServiceURL())) {
checkArgument(config.getBrokerServiceURL().startsWith("pulsar://"),
"brokerServiceURL must start with pulsar://");
+ checkArgument(!config.getBrokerServiceURL().contains(","),
+ "brokerServiceURL did not support multi urls yet, it
should point to the"
Review Comment:
fixed
##########
pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyServiceStarter.java:
##########
@@ -162,11 +162,17 @@ public ProxyServiceStarter(String[] args) throws
Exception {
if (isNotBlank(config.getBrokerServiceURL())) {
checkArgument(config.getBrokerServiceURL().startsWith("pulsar://"),
"brokerServiceURL must start with pulsar://");
+ checkArgument(!config.getBrokerServiceURL().contains(","),
+ "brokerServiceURL did not support multi urls yet, it
should point to the"
+ + " discovery service provider.");
}
if (isNotBlank(config.getBrokerServiceURLTLS())) {
checkArgument(config.getBrokerServiceURLTLS().startsWith("pulsar+ssl://"),
"brokerServiceURLTLS must start with pulsar+ssl://");
+ checkArgument(!config.getBrokerServiceURLTLS().contains(","),
+ "brokerServiceURL did not support multi urls yet, it
should point to the"
Review Comment:
fixed
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]