From e1b21e83bfc229e5012cf785da6ef284ef7c3429 Mon Sep 17 00:00:00 2001 From: Chris Bono Date: Thu, 12 Dec 2024 00:01:58 -0600 Subject: [PATCH] Update Pulsar and various other dependencies (#199) This commit updates the following: - Pulsar to 3.3.3 - Reactor to 3.6.13 - Testcontainers to 1.20.4 --- gradle/libs.versions.toml | 6 +++--- .../reactive/client/adapter/SingletonPulsarContainer.java | 2 +- scripts/validate_staging_repo.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 275b98e..d2848f9 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -29,12 +29,12 @@ junit-jupiter = "5.11.3" licenser = "0.6.1" log4j = "2.23.1" mockito = "5.14.2" -pulsar = "3.3.2" +pulsar = "3.3.3" rat-gradle = "0.8.0" -reactor = "3.6.12" +reactor = "3.6.13" slf4j = "2.0.16" spring-javaformat = "0.0.43" -testcontainers = "1.20.3" +testcontainers = "1.20.4" testlogger = "3.2.0" [libraries] diff --git a/pulsar-client-reactive-adapter/src/intTest/java/org/apache/pulsar/reactive/client/adapter/SingletonPulsarContainer.java b/pulsar-client-reactive-adapter/src/intTest/java/org/apache/pulsar/reactive/client/adapter/SingletonPulsarContainer.java index ca27174..16f6a06 100644 --- a/pulsar-client-reactive-adapter/src/intTest/java/org/apache/pulsar/reactive/client/adapter/SingletonPulsarContainer.java +++ b/pulsar-client-reactive-adapter/src/intTest/java/org/apache/pulsar/reactive/client/adapter/SingletonPulsarContainer.java @@ -45,7 +45,7 @@ static PulsarClient createPulsarClient() throws PulsarClientException { } static DockerImageName getPulsarImage() { - return DockerImageName.parse("apachepulsar/pulsar:3.3.2"); + return DockerImageName.parse("apachepulsar/pulsar:3.3.3"); } } diff --git a/scripts/validate_staging_repo.sh b/scripts/validate_staging_repo.sh index b5b7753..733a3c7 100755 --- a/scripts/validate_staging_repo.sh +++ b/scripts/validate_staging_repo.sh @@ -40,7 +40,7 @@ if ! command -v gradle &>/dev/null; then fi DOCKER_CONTAINER_NAME=pulsar-standalone-$$ -: ${DOCKER_IMAGE_NAME:=apachepulsar/pulsar:3.3.2} +: ${DOCKER_IMAGE_NAME:=apachepulsar/pulsar:3.3.3} mkdir test-app-reactive-$$ cd test-app-reactive-$$ @@ -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.3.2 /pulsar/bin/pulsar standalone -nss -nfw + // docker run -it -p 8080:8080 -p 6650:6650 apachepulsar/pulsar:3.3.3 /pulsar/bin/pulsar standalone -nss -nfw try (PulsarClient pulsarClient = PulsarClient.builder().serviceUrl("pulsar://localhost:6650").build()) {