Skip to content

Commit

Permalink
Bump and match pulsar to 2.8.0.7 (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaoran10 authored Jul 27, 2021
1 parent 29a27f7 commit e58cfbd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pr_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ on:
pull_request:
branches:
- master
- branch-*
push:
branches:
- master
- branch-*

jobs:
build:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void start(BrokerService brokerService) {
proxyConfig.setMqttHeartBeat(mqttConfig.getHeartBeat());
proxyConfig.setMqttProxyPort(mqttConfig.getMqttProxyPort());
proxyConfig.setBrokerServiceURL("pulsar://"
+ ServiceConfigurationUtils.getAppliedAdvertisedAddress(mqttConfig)
+ ServiceConfigurationUtils.getAppliedAdvertisedAddress(mqttConfig, true)
+ ":" + mqttConfig.getBrokerServicePort().get());
proxyConfig.setMqttAuthenticationEnabled(mqttConfig.isMqttAuthenticationEnabled());
proxyConfig.setMqttAuthenticationMethods(mqttConfig.getMqttAuthenticationMethods());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public MQTTConsumer(Subscription subscription, String mqttTopicName, String puls
OutstandingPacketContainer outstandingPacketContainer)
throws BrokerServiceException {
super(subscription, CommandSubscribe.SubType.Shared, pulsarTopicName, 0, 0, consumerName, 0, cnx,
"", null, false, CommandSubscribe.InitialPosition.Latest, null);
"", null, false, CommandSubscribe.InitialPosition.Latest, null, null);
this.pulsarTopicName = pulsarTopicName;
this.mqttTopicName = mqttTopicName;
this.cnx = cnx;
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<mockito.version>2.22.0</mockito.version>
<testng.version>6.14.3</testng.version>
<awaitility.version>4.0.2</awaitility.version>
<pulsar.version>2.8.0</pulsar.version>
<pulsar.version>2.8.0.7</pulsar.version>
<mqtt.codec.version>4.1.66.Final</mqtt.codec.version>
<log4j2.version>2.13.3</log4j2.version>
<lombok.version>1.18.4</lombok.version>
Expand All @@ -66,7 +66,7 @@

<dependencies>
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>io.streamnative</groupId>
<artifactId>pulsar-broker</artifactId>
<version>${pulsar.version}</version>
<scope>provided</scope>
Expand Down
4 changes: 2 additions & 2 deletions tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>io.streamnative</groupId>
<artifactId>testmocks</artifactId>
<version>${pulsar.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.pulsar</groupId>
<groupId>io.streamnative</groupId>
<artifactId>pulsar-broker</artifactId>
<version>${pulsar.version}</version>
<type>test-jar</type>
Expand Down

0 comments on commit e58cfbd

Please sign in to comment.