/quarkus-workshop-mitigation-strategies

Contains the assignment for the Reactive Quarkus Workshop on implementing mitigation strategies for Event-based systems.

Primary LanguageJavaMIT LicenseMIT

Reactive Quarkus Workshop - Mitigation Strategies - Lab

This repository includes the lab assignment on implementing mitigation strategies for use with the SmallRye Apache Kafka Connector.

Getting started

In this exercise, you'll be working on a couple of integration tests that exercise the correct behavior of our Kafka-based messaging components. You'll find a docker-compose.yaml in folder docker which sets up a locally running Kafka cluster that comprises a single broker. Launching the cluster can be done by issuing

Linux / MacOS

$ cd docker
$ docker-compose up

Windows

$ cd docker
$ docker-compose up

from within the root folder.

Useful resources

  • SmallRye Reactive Messaging - Kafka Connector (guide): Connect to Kafka with Reactive Messaging

Docker CLI Hints

Starting containers using docker-compose

$ docker-compose up

Stopping containers using docker-compose

$ docker-compose stop

Removing containers using docker-compose

$ docker-compose rm -f