From 24ca31f0e2600cc170808d98cd0f4017516d0bd8 Mon Sep 17 00:00:00 2001 From: Chris Bono Date: Sat, 26 Aug 2023 23:12:38 -0500 Subject: [PATCH] Update to Pulsar v3.1.0 See #437 --- gradle.properties | 2 +- .../src/main/asciidoc/override-boot-dependencies.adoc | 4 ++-- .../sample-pulsar-functions/download-connectors.sh | 4 ++-- .../sample-signup-function/build.gradle | 4 ++-- .../pulsar/test/support/PulsarTestContainerSupport.java | 2 +- tools/pulsar/docker/standalone/pulsar-start.sh | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gradle.properties b/gradle.properties index 46f8ef30..99def0ad 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ org.gradle.caching=true org.gradle.parallel=true org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dfile.encoding=UTF-8 -pulsarClientVersion=3.0.1 +pulsarClientVersion=3.1.0 pulsarClientReactiveVersion=0.3.0 # only used by docs, tests, and samples (unpublished deps) diff --git a/spring-pulsar-docs/src/main/asciidoc/override-boot-dependencies.adoc b/spring-pulsar-docs/src/main/asciidoc/override-boot-dependencies.adoc index e4592a42..56acc7f3 100644 --- a/spring-pulsar-docs/src/main/asciidoc/override-boot-dependencies.adoc +++ b/spring-pulsar-docs/src/main/asciidoc/override-boot-dependencies.adoc @@ -13,7 +13,7 @@ In the following example, snapshot version of the Pulsar clients and Spring Puls [source, groovy, subs="+attributes", role="secondary"] .Gradle ---- -ext['pulsar.version'] = '3.0.1-SNAPSHOT' +ext['pulsar.version'] = '3.1.1-SNAPSHOT' ext['pulsar-reactive.version'] = '0.3.1-SNAPSHOT' ext['spring-pulsar.version'] = '1.0.1-SNAPSHOT' @@ -26,7 +26,7 @@ dependencies { .Maven ---- - 3.0.1-SNAPSHOT + 3.1.1-SNAPSHOT 0.3.1-SNAPSHOT 1.0.1-SNAPSHOT diff --git a/spring-pulsar-sample-apps/sample-pulsar-functions/download-connectors.sh b/spring-pulsar-sample-apps/sample-pulsar-functions/download-connectors.sh index 67fef444..c264e05d 100755 --- a/spring-pulsar-sample-apps/sample-pulsar-functions/download-connectors.sh +++ b/spring-pulsar-sample-apps/sample-pulsar-functions/download-connectors.sh @@ -2,6 +2,6 @@ mkdir connectors cd connectors -wget https://archive.apache.org/dist/pulsar/pulsar-3.0.0/connectors/pulsar-io-cassandra-3.0.0.nar -wget https://archive.apache.org/dist/pulsar/pulsar-3.0.0/connectors/pulsar-io-rabbitmq-3.0.0.nar +wget https://archive.apache.org/dist/pulsar/pulsar-3.1.0/connectors/pulsar-io-cassandra-3.1.0.nar +wget https://archive.apache.org/dist/pulsar/pulsar-3.1.0/connectors/pulsar-io-rabbitmq-3.1.0.nar cd .. 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 9e317c84..1f2e2f43 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,8 +11,8 @@ repositories { } dependencies { - implementation 'org.apache.pulsar:pulsar-client-all:3.0.1' - implementation 'org.apache.pulsar:pulsar-functions-api:3.0.1' + implementation 'org.apache.pulsar:pulsar-client-all:3.1.0' + implementation 'org.apache.pulsar:pulsar-functions-api:3.1.0' compileOnly 'org.projectlombok:lombok:1.18.24' annotationProcessor 'org.projectlombok:lombok:1.18.24' } 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 9774bc73..115a7b86 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 @@ -41,7 +41,7 @@ static String getPulsarBrokerUrl() { } static DockerImageName getPulsarImage() { - return DockerImageName.parse("apachepulsar/pulsar:3.0.1"); + return DockerImageName.parse("apachepulsar/pulsar:3.1.0"); } static String getHttpServiceUrl() { diff --git a/tools/pulsar/docker/standalone/pulsar-start.sh b/tools/pulsar/docker/standalone/pulsar-start.sh index 9dc2db28..5b735c44 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:3.0.0 \ + apachepulsar/pulsar:3.1.0 \ bin/pulsar standalone