diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 608a485c..3bb4fda2 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -9,7 +9,7 @@ micrometer = "1.16.0-M1" micrometer-docs-gen = "1.0.4" micrometer-tracing = "1.6.0-M1" protobuf = "3.25.8" -pulsar = "4.0.5" +pulsar = "4.0.6" pulsar-reactive = "0.7.0" reactor = "2025.0.0-M5" spring = "7.0.0-M7" diff --git a/spring-pulsar-sample-apps/sample-failover-custom-router/compose.yaml b/spring-pulsar-sample-apps/sample-failover-custom-router/compose.yaml index d783ce5f..11096d9e 100644 --- a/spring-pulsar-sample-apps/sample-failover-custom-router/compose.yaml +++ b/spring-pulsar-sample-apps/sample-failover-custom-router/compose.yaml @@ -1,6 +1,6 @@ services: pulsar: - image: 'apachepulsar/pulsar:4.0.5' + image: 'apachepulsar/pulsar:4.0.6' ports: - '6650' - '8080' diff --git a/spring-pulsar-sample-apps/sample-imperative-produce-consume/compose.yaml b/spring-pulsar-sample-apps/sample-imperative-produce-consume/compose.yaml index d783ce5f..11096d9e 100644 --- a/spring-pulsar-sample-apps/sample-imperative-produce-consume/compose.yaml +++ b/spring-pulsar-sample-apps/sample-imperative-produce-consume/compose.yaml @@ -1,6 +1,6 @@ services: pulsar: - image: 'apachepulsar/pulsar:4.0.5' + image: 'apachepulsar/pulsar:4.0.6' ports: - '6650' - '8080' diff --git a/spring-pulsar-sample-apps/sample-pulsar-binder/compose.yaml b/spring-pulsar-sample-apps/sample-pulsar-binder/compose.yaml index d783ce5f..11096d9e 100644 --- a/spring-pulsar-sample-apps/sample-pulsar-binder/compose.yaml +++ b/spring-pulsar-sample-apps/sample-pulsar-binder/compose.yaml @@ -1,6 +1,6 @@ services: pulsar: - image: 'apachepulsar/pulsar:4.0.5' + image: 'apachepulsar/pulsar:4.0.6' ports: - '6650' - '8080' diff --git a/spring-pulsar-sample-apps/sample-pulsar-functions/sample-signup-function/build.gradle b/spring-pulsar-sample-apps/sample-pulsar-functions/sample-signup-function/build.gradle index baca70b7..0c58eec8 100644 --- a/spring-pulsar-sample-apps/sample-pulsar-functions/sample-signup-function/build.gradle +++ b/spring-pulsar-sample-apps/sample-pulsar-functions/sample-signup-function/build.gradle @@ -11,7 +11,8 @@ repositories { } def versionCatalog = extensions.getByType(VersionCatalogsExtension).named("libs") -def pulsarVersion = project.properties['pulsarVersion'] ?: versionCatalog.findVersion("pulsar").orElseThrow().displayName +// At Pulsar 4.0.6 things break related to jdk8 requirement - hardcoding at 4.0.5 for now +def pulsarVersion = '4.0.5' dependencies { implementation "org.apache.pulsar:pulsar-client-all:${pulsarVersion}" diff --git a/spring-pulsar-sample-apps/sample-pulsar-reader/compose.yaml b/spring-pulsar-sample-apps/sample-pulsar-reader/compose.yaml index d783ce5f..11096d9e 100644 --- a/spring-pulsar-sample-apps/sample-pulsar-reader/compose.yaml +++ b/spring-pulsar-sample-apps/sample-pulsar-reader/compose.yaml @@ -1,6 +1,6 @@ services: pulsar: - image: 'apachepulsar/pulsar:4.0.5' + image: 'apachepulsar/pulsar:4.0.6' ports: - '6650' - '8080' diff --git a/spring-pulsar-sample-apps/sample-reactive/compose.yaml b/spring-pulsar-sample-apps/sample-reactive/compose.yaml index d783ce5f..11096d9e 100644 --- a/spring-pulsar-sample-apps/sample-reactive/compose.yaml +++ b/spring-pulsar-sample-apps/sample-reactive/compose.yaml @@ -1,6 +1,6 @@ services: pulsar: - image: 'apachepulsar/pulsar:4.0.5' + image: 'apachepulsar/pulsar:4.0.6' ports: - '6650' - '8080' diff --git a/spring-pulsar-test/src/main/java/org/springframework/pulsar/test/support/PulsarTestContainerSupport.java b/spring-pulsar-test/src/main/java/org/springframework/pulsar/test/support/PulsarTestContainerSupport.java index 33285300..aaa81fab 100644 --- a/spring-pulsar-test/src/main/java/org/springframework/pulsar/test/support/PulsarTestContainerSupport.java +++ b/spring-pulsar-test/src/main/java/org/springframework/pulsar/test/support/PulsarTestContainerSupport.java @@ -33,7 +33,7 @@ public interface PulsarTestContainerSupport { PulsarContainer PULSAR_CONTAINER = new PulsarContainer(getPulsarImage()); static DockerImageName getPulsarImage() { - return DockerImageName.parse("apachepulsar/pulsar:4.0.5"); + return DockerImageName.parse("apachepulsar/pulsar:4.0.6"); } @BeforeAll diff --git a/tools/pulsar/docker/standalone/pulsar-start.sh b/tools/pulsar/docker/standalone/pulsar-start.sh index fe90c9de..c53be8b4 100755 --- a/tools/pulsar/docker/standalone/pulsar-start.sh +++ b/tools/pulsar/docker/standalone/pulsar-start.sh @@ -3,5 +3,5 @@ docker run -it -p 6650:6650 -p 8080:8080 \ --mount source=pulsardata,target=/pulsar/data \ --mount source=pulsarconf,target=/pulsar/conf \ - apachepulsar/pulsar:4.0.5 \ + apachepulsar/pulsar:4.0.6 \ bin/pulsar standalone