Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ junit-jupiter = "5.11.0-M2"
licenser = "0.6.1"
log4j = "2.23.1"
mockito = "5.12.0"
pulsar = "3.2.3"
pulsar = "3.3.1"
rat-gradle = "0.8.0"
reactor = "3.6.7"
slf4j = "2.0.13"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static PulsarClient createPulsarClient() throws PulsarClientException {
}

static DockerImageName getPulsarImage() {
return DockerImageName.parse("apachepulsar/pulsar:3.2.3");
return DockerImageName.parse("apachepulsar/pulsar:3.3.1");
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@

import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyBoolean;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.ArgumentMatchers.isNull;
Expand All @@ -77,7 +78,7 @@ void consumerProperties() throws Exception {
PulsarClientImpl pulsarClient = spy(
(PulsarClientImpl) PulsarClient.builder().serviceUrl("http://dummy").build());
doReturn(CompletableFuture.completedFuture(new PartitionedTopicMetadata())).when(pulsarClient)
.getPartitionedTopicMetadata(anyString());
.getPartitionedTopicMetadata(anyString(), anyBoolean());

Consumer<String> consumer = mock(Consumer.class);
doReturn(CompletableFuture.completedFuture(null)).when(consumer).closeAsync();
Expand Down
4 changes: 2 additions & 2 deletions scripts/validate_staging_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if ! command -v gradle &>/dev/null; then
fi

DOCKER_CONTAINER_NAME=pulsar-standalone-$$
: ${DOCKER_IMAGE_NAME:=apachepulsar/pulsar:3.2.3}
: ${DOCKER_IMAGE_NAME:=apachepulsar/pulsar:3.3.1}

mkdir test-app-reactive-$$
cd test-app-reactive-$$
Expand Down Expand Up @@ -90,7 +90,7 @@ public class HelloPulsarClientReactive {

public static void main(String[] args) throws PulsarClientException, InterruptedException {
// Before running this, start Pulsar within docker with this command:
// docker run -it -p 8080:8080 -p 6650:6650 apachepulsar/pulsar:3.2.3 /pulsar/bin/pulsar standalone -nss -nfw
// docker run -it -p 8080:8080 -p 6650:6650 apachepulsar/pulsar:3.3.1 /pulsar/bin/pulsar standalone -nss -nfw

try (PulsarClient pulsarClient = PulsarClient.builder().serviceUrl("pulsar://localhost:6650").build()) {

Expand Down