diff --git a/amqp-impl/src/main/java/io/streamnative/pulsar/handlers/amqp/AmqpProtocolHandler.java b/amqp-impl/src/main/java/io/streamnative/pulsar/handlers/amqp/AmqpProtocolHandler.java index 8839bc93..13ca5090 100644 --- a/amqp-impl/src/main/java/io/streamnative/pulsar/handlers/amqp/AmqpProtocolHandler.java +++ b/amqp-impl/src/main/java/io/streamnative/pulsar/handlers/amqp/AmqpProtocolHandler.java @@ -95,7 +95,7 @@ public void start(BrokerService service) { proxyConfig.setAmqpHeartBeat(amqpConfig.getAmqpHeartBeat()); proxyConfig.setAmqpProxyPort(amqpConfig.getAmqpProxyPort()); proxyConfig.setBrokerServiceURL("pulsar://" - + ServiceConfigurationUtils.getAppliedAdvertisedAddress(amqpConfig) + ":" + + ServiceConfigurationUtils.getAppliedAdvertisedAddress(amqpConfig, true) + ":" + amqpConfig.getBrokerServicePort().get()); ProxyService proxyService = new ProxyService(proxyConfig, service.getPulsar()); try { diff --git a/pom.xml b/pom.xml index 190fd73b..b3beced3 100644 --- a/pom.xml +++ b/pom.xml @@ -46,7 +46,7 @@ 2.13.3 1.18.4 2.22.0 - 2.8.0-rc-202106071430 + 2.8.0.4 1.7.25 3.1.8 1.12.5