You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2023/12/01 14:32:50 UTC
(camel-quarkus-examples) branch main updated: Use Strimzi as the Kafka devservices image as it works on Power architecture
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 12aabb1 Use Strimzi as the Kafka devservices image as it works on Power architecture
12aabb1 is described below
commit 12aabb14b214834f744a5c1edaadcca334a1330b
Author: James Netherton <ja...@gmail.com>
AuthorDate: Fri Dec 1 14:12:03 2023 +0000
Use Strimzi as the Kafka devservices image as it works on Power architecture
---
kafka/README.adoc | 2 +-
kafka/src/main/resources/application.properties | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/kafka/README.adoc b/kafka/README.adoc
index 2071133..51821ff 100644
--- a/kafka/README.adoc
+++ b/kafka/README.adoc
@@ -14,7 +14,7 @@ The example application requires a Kafka instance.
You do not need to provide the Kafka instance yourself
as long as you play with the example code in dev mode (a.k.a. `mvn quarkus:dev` - read more https://quarkus.io/guides/getting-started#development-mode[here]
or as long as you only run the supplied tests (`mvn test`).
-In those situations, Quarkus tooling starts a Redpanda image for you via https://quarkus.io/guides/kafka-dev-services[Quarkus Dev Services]
+In those situations, Quarkus tooling starts a Strimzi image for you via https://quarkus.io/guides/kafka-dev-services[Quarkus Dev Services]
and it also configures the application so that you do not need touch anything in `application.properties`.
== Start in Development mode
diff --git a/kafka/src/main/resources/application.properties b/kafka/src/main/resources/application.properties
index e1196bd..52381be 100644
--- a/kafka/src/main/resources/application.properties
+++ b/kafka/src/main/resources/application.properties
@@ -15,6 +15,9 @@
## limitations under the License.
## ---------------------------------------------------------------------------
+# Use Strimzi as it's power architecture compatible
+quarkus.kafka.devservices.provider = strimzi
+
# Kafka topic Name
kafka.topic.name=test