Asynchronous Java: Practical Work with Cassandra and Kafka
summary
A scalable platform processes thousands of business events per second to compute online features for ML services using a fully asynchronous core built on Java CompletableFuture. It stores features in Cassandra via the driver’s async API and analyzes problems and solutions for asynchronous large-result queries, and it consumes heterogeneous, non-batchable events from many Kafka topics — describing an implementation that uses CompletableFutures to handle many topics on a single connection/thread instead of the usual callback-heavy, multi-threaded Kafka approach.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:05Speaker background
- 3:34CompletableFuture basics
- 5:00Async programming
- 6:23Platform overview
- 10:16Cassandra async
- 12:02Partial key queries
- 18:01Parallel processing
- 21:11Cassandra maintenance
- 24:49Kafka streaming
- 27:18Parallel consumer
- 30:29State management
- 36:51Error handling
- 38:15Conclusion
- 40:43Q&A
