Skip to content

Commit

Permalink
add note for switching dev services kafka provider to strimzi.
Browse files Browse the repository at this point in the history
  • Loading branch information
christofluethi committed Dec 11, 2024
1 parent 8f481a6 commit 7278e2e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion content/en/docs/08.0/82_kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 7278e2e

Please sign in to comment.