FUNCTIONAL EVENT-DRIVEN ARCHITECTURE
summary
A concise preview of a Scala 3 book that shows concrete patterns and runnable code rather than theory: examples use Apache Pulsar (Kafka-compatible) plus Cats Effect and FS2 to implement simple event processing and stateful CEP via a finite state machine driven by FS2’s evalMapAccumulate and merged tick streams, a Postgres-backed outbox pattern shipped via CDC connectors (Pulsar IO / Debezium) to guarantee delivery, demos of Pulsar subscription types and ephemeral WebSocket subscriptions that ran in production, and a 97-stargazer raffle run from the repo.
AI-written summary · about
chapters (12)
- 0:00Welcome
- 1:24Event-driven basics
- 2:49Challenges and benefits
- 3:10Simple event patterns
- 4:35Complex event processing
- 8:49FS2 streams implementation
- 16:28Outbox pattern
- 19:58Message broker selection
- 21:24WebSocket subscriptions
- 23:11Book overview
- 24:57Raffle
- 26:27Q&A
related talks
44mThe Art and Benefits of Computing Eventfully
41mThe Promise of Event Driven Programming with Fast Data
44mBuilding event-driven microservices with Scala and Functional Domain Models
43mFunctional and Reactive Event Sourced Applications
54mHow Events Are Reshaping Modern Systems
39mThe Promise of Event Driven Programming with Fast Data
53mBuilding Event Driven Services with Apache Kafka and Kafka Streams
01h 50mObject-Functional Patterns in Scala
