Building reactive microservices with MicroProfile
summary
Demonstrates converting a blocking HTTP coffee-shop/barista demo into an event-driven system using MicroProfile Reactive Streams Operators and MicroProfile Reactive Messaging, Quarkus dev mode and a Kafka connector. Shows replacing the HTTP handoff with emitters to Kafka topics, changing about three lines of code plus configuration, wiring CDI beans as incoming/outgoing channels, and using processors/publishers for transformations. The demo runs: orders queue when barista is down, board shows ready messages, and scaling adds consumers for elasticity while back pressure and connectors handle resilience.
AI-written summary · about
chapters (10)
- 0:00Start
- 1:25Reactive Systems
- 5:30Reactive Streams
- 9:41Micro Profile Reactive
- 20:54MP Reactive Messaging
- 21:42Connectors
- 23:06Consuming messages
- 23:27Coffee shop - HTTP
- 25:03Coffee shop - Messaging
- 46:49Thank you
related talks
54mDeveloping a stream processing application with Apache Kafka and Quarkus
01h 01mSupersonic, Subatomic Java
48mReactive Microservice in Action
54mReacting to an Event-Driven World
02h 51mReactive Microservices with Quarkus
58mGame of Streams
50mWhen Quarkus Meets MicroProfile
46mSubatomic, Supersonic, Reactive
