Skip to content

Commit

Permalink
Apply new getAppliedAdvertisedAddress signature (#242)
Browse files Browse the repository at this point in the history
* Apply new getAppliedAdvertisedAddress interface

* Set ignoreAdvertisedListener to true
  • Loading branch information
BewareMyPower authored Jul 2, 2021
1 parent 4c514d6 commit 1df962d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<log4j2.version>2.13.3</log4j2.version>
<lombok.version>1.18.4</lombok.version>
<mockito.version>2.22.0</mockito.version>
<pulsar.version>2.8.0-rc-202106071430</pulsar.version>
<pulsar.version>2.8.0.4</pulsar.version>
<slf4j.version>1.7.25</slf4j.version>
<spotbugs-annotations.version>3.1.8</spotbugs-annotations.version>
<testcontainers.version>1.12.5</testcontainers.version>
Expand Down

0 comments on commit 1df962d

Please sign in to comment.