Quarkus ยท Apache Camel ยท Kafka ยท Debezium ยท Strimzi

Event-Driven Patterns with Quarkus and Camel

Build a shipping platform whose services talk through events. You publish order events from Quarkus, move them with Camel routes over Kafka, write them out atomically with the transactional outbox and Debezium, store state as events, process streams, trace every hop in Grafana, and deploy the lot to Kubernetes with Strimzi.

8Parts, from a first event to Kafka on Kubernetes
46Chapters and appendices published so far
2Run targets: Docker Compose, and minikube with Strimzi
1Domain throughout: orders, stock, payments, shipments and notifications

The parts

Each pattern chapter states the problem, shows the Quarkus and Camel code that solves it, and ends with a runnable example on Docker Engine. Parts 0 to 5 run on Docker Compose; Part 6 moves the same services to minikube with Strimzi.

Part 0

Getting started

The shipping domain, the local stack and a first event through Quarkus, Camel, Kafka and the LGTM observability stack.

2 chapters Explore โ†’
Part 1

Events between services

Event notification, event-carried state transfer, and the channel and message design that lets services stay independent.

6 chapters Explore โ†’
Part 2

Getting events out reliably

The transactional outbox, Debezium change data capture, idempotent consumers and delivery guarantees.

6 chapters Explore โ†’
Part 3

Event sourcing

Events as the system of record: append-only stores, projections, CQRS read models, snapshots and schema evolution.

5 chapters Explore โ†’
Part 4

Processing and coordinating streams

Stateful stream processing, windows and joins, and sagas that coordinate work across services.

6 chapters Explore โ†’
Part 5

Observing event flows

Traces, metrics and logs that follow an event across topics and services, with OpenTelemetry and Grafana LGTM.

3 chapters Explore โ†’
Part 6

Running on Kubernetes with Strimzi

Kafka on Kubernetes with the Strimzi operator: the same services deployed to minikube, then monitoring, Cruise Control, MirrorMaker 2 and Kafka Connect as declared resources.

8 chapters Explore โ†’
Appendices

Appendices

Testing, compose to Kubernetes, querying streams, a pattern map and glossary, resequencing in depth, deploying event-driven services, a write-forward cache, an outbox on OpenShift Local, and batch processing with Kueue.

10 chapters Explore โ†’