Reacting to an event-driven world
summary
Claim: adding Kafka does not make an application reactive end to end; you need message-driven code, elasticity, resiliency and responsiveness. Demonstration uses Apache Kafka with Zookeeper, Java clients and frameworks: MicroProfile Reactive Messaging, RxJava Flowable, Vert.x and Alpakka, running in Docker/Open Liberty. A Java system service publishes average system load every 15 seconds to Kafka, an inventory service consumes it and exposes a REST endpoint; the demo runs successfully. Operational notes: use partitions to match consumers, and a replication factor of three for durability.
AI-written summary · about
chapters (37)
- 0:00Start
- 2:24Coffee Demo
- 5:05Apache Kafka
- 6:24Reactive Systems
- 9:29Characteristic of Elasticity
- 12:06Responsiveness
- 13:11Reactive Architecture Design Patterns
- 13:30Circuit Breakers
- 14:09Sagas
- 15:08Reactive Programming
- 15:36Futures
- 15:46Reactive Programming Libraries
- 16:12Reactive Stream Specification
- 19:37Leader Elections
- 21:15Delivery Guarantees
- 21:52Configuration
- 22:47Retries
- 24:08Barista Example
- 26:57Elasticity and Scalability
- 28:34Consumer Groups
- 31:08Writing Kafka Java Applications That Are Reactive
- 33:53Alpaca
- 35:13Back Pressure in Alpaca
- 36:22Micro Profile
- 37:05Reactive Messaging Specification
- 37:30How Does Reactive Messaging Actually Work in Microprofile
- 37:52Channels
- 39:15Eclipse Vertex
- 39:30Reactor Pattern
- 41:07Front End
- 47:21System Service Class
- 49:09Inventory Microservice
- 49:57Create the Micro Profile Config Properties
- 52:43Create Is a Server Xml Configuration File
- 53:49The Maven Configuration File
- 54:18Dependencies
- 56:04Docker Build
