From 6c0af6885aeaef7570da7e61b4ce4327908cd73f Mon Sep 17 00:00:00 2001 From: Ozan Gunalp Date: Fri, 13 Sep 2024 15:38:10 +0200 Subject: [PATCH] Downgrade the default pulsar devservice image to 3.2.4 Fixes #43187 (cherry picked from commit 9336d050a3c9b0b9f01dc5561c84b59cefa9dce8) --- docs/src/main/asciidoc/pulsar-getting-started.adoc | 2 +- .../reactivemessaging/pulsar/deployment/PulsarContainer.java | 2 +- .../pulsar/deployment/PulsarDevServicesBuildTimeConfig.java | 3 ++- .../src/test/java/io/quarkus/it/pulsar/PulsarContainer.java | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/src/main/asciidoc/pulsar-getting-started.adoc b/docs/src/main/asciidoc/pulsar-getting-started.adoc index fad78b33259ca..d3108b3170879 100644 --- a/docs/src/main/asciidoc/pulsar-getting-started.adoc +++ b/docs/src/main/asciidoc/pulsar-getting-started.adoc @@ -405,7 +405,7 @@ version: '3.8' services: pulsar: - image: apachepulsar/pulsar:3.0.0 + image: apachepulsar/pulsar:3.2.4 command: [ "sh", "-c", "bin/apply-config-from-env.py conf/standalone.conf && bin/pulsar standalone -nfw -nss" diff --git a/extensions/smallrye-reactive-messaging-pulsar/deployment/src/main/java/io/quarkus/smallrye/reactivemessaging/pulsar/deployment/PulsarContainer.java b/extensions/smallrye-reactive-messaging-pulsar/deployment/src/main/java/io/quarkus/smallrye/reactivemessaging/pulsar/deployment/PulsarContainer.java index 248b8723c6839..c21a5ac9f7263 100644 --- a/extensions/smallrye-reactive-messaging-pulsar/deployment/src/main/java/io/quarkus/smallrye/reactivemessaging/pulsar/deployment/PulsarContainer.java +++ b/extensions/smallrye-reactive-messaging-pulsar/deployment/src/main/java/io/quarkus/smallrye/reactivemessaging/pulsar/deployment/PulsarContainer.java @@ -13,7 +13,7 @@ public class PulsarContainer extends GenericContainer { - public static final DockerImageName PULSAR_IMAGE = DockerImageName.parse("apachepulsar/pulsar:3.3.0"); + public static final DockerImageName PULSAR_IMAGE = DockerImageName.parse("apachepulsar/pulsar:3.2.4"); public static final String STARTER_SCRIPT = "/run_pulsar.sh"; diff --git a/extensions/smallrye-reactive-messaging-pulsar/deployment/src/main/java/io/quarkus/smallrye/reactivemessaging/pulsar/deployment/PulsarDevServicesBuildTimeConfig.java b/extensions/smallrye-reactive-messaging-pulsar/deployment/src/main/java/io/quarkus/smallrye/reactivemessaging/pulsar/deployment/PulsarDevServicesBuildTimeConfig.java index 0e5169104cd22..ddee633aeeeca 100644 --- a/extensions/smallrye-reactive-messaging-pulsar/deployment/src/main/java/io/quarkus/smallrye/reactivemessaging/pulsar/deployment/PulsarDevServicesBuildTimeConfig.java +++ b/extensions/smallrye-reactive-messaging-pulsar/deployment/src/main/java/io/quarkus/smallrye/reactivemessaging/pulsar/deployment/PulsarDevServicesBuildTimeConfig.java @@ -34,7 +34,8 @@ public class PulsarDevServicesBuildTimeConfig { * * Check https://hub.docker.com/r/apachepulsar/pulsar to find the available versions. */ - @ConfigItem(defaultValue = "apachepulsar/pulsar:3.3.0") + // Alpine-based images starting from 3.3.0 fail to start on aarch64: https://github.com/apache/pulsar/issues/23306 + @ConfigItem(defaultValue = "apachepulsar/pulsar:3.2.4") public String imageName; /** diff --git a/integration-tests/reactive-messaging-pulsar/src/test/java/io/quarkus/it/pulsar/PulsarContainer.java b/integration-tests/reactive-messaging-pulsar/src/test/java/io/quarkus/it/pulsar/PulsarContainer.java index 9b913f842f6fb..0211377cca6bc 100644 --- a/integration-tests/reactive-messaging-pulsar/src/test/java/io/quarkus/it/pulsar/PulsarContainer.java +++ b/integration-tests/reactive-messaging-pulsar/src/test/java/io/quarkus/it/pulsar/PulsarContainer.java @@ -13,7 +13,7 @@ public class PulsarContainer extends GenericContainer { - public static final DockerImageName PULSAR_IMAGE = DockerImageName.parse("apachepulsar/pulsar:3.3.0"); + public static final DockerImageName PULSAR_IMAGE = DockerImageName.parse("apachepulsar/pulsar:3.2.4"); public static final String STARTER_SCRIPT = "/run_pulsar.sh";