From 7278e2e1c947fa260c6b0a73f1f0dd1fe0eb1114 Mon Sep 17 00:00:00 2001 From: christofluethi Date: Wed, 11 Dec 2024 10:52:59 +0100 Subject: [PATCH] add note for switching dev services kafka provider to strimzi. --- content/en/docs/08.0/82_kafka.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/content/en/docs/08.0/82_kafka.md b/content/en/docs/08.0/82_kafka.md index 304614e5..d02dd869 100644 --- a/content/en/docs/08.0/82_kafka.md +++ b/content/en/docs/08.0/82_kafka.md @@ -38,7 +38,16 @@ Apache Kafka is an event streaming platform used to collect, process, store, and #### Implementation For local development we do have the choice to either run our Kafka services via Quarkus Devservices or with docker-compose. -If you want to use the Quarkus Devservices simply remove the line `kafka.bootstrap.servers=localhost:9092` in your `applications.properties` file. This will set up a [Redpanda](https://vectorized.io/redpanda) container for your development environment. +If you want to use the Quarkus Dev Services simply remove the line `kafka.bootstrap.servers=localhost:9092` in your `applications.properties` file. This will set up a [Redpanda](https://vectorized.io/redpanda) container for your development environment. + +{{% alert color="primary" title="Redpanda Docker Image" %}} +Dev Services defaults to Redpanda images from `vectorized/redpanda`. If you do have problems downloading the Redpanda kafka image you can switch to a different provider like Strimzi. + +Add the following line to your `applications.properties` to switch to strimzi test containers. +```yaml +quarkus.kafka.devservices.provider=strimzi +``` +{{% /alert %}} {{% details title="Without Devservices" %}} If you choose to test your local services with a Kafka broker you can use a small docker-compose file `solution/kafka-stack/docker/docker-compose.yml`