Push Query Layer for Stream Processing Systems
summary
Explains how Flink’s queriable-state RPC works (client → task-manager proxy → state server) and demonstrates a local setup with Docker Compose + Kafka + Python producer and a Java HTTP query proxy, showing the getKVState call, job ID usage and serializer requirements. Notes concrete limits: queriable state is read‑only, RocksDB is safe but HashMap backend allows unsynchronized concurrent reads. Warns that queriable state is removed in Flink 1.18, and outlines tuning knobs (network/query threads) and the disaggregated‑state direction.
AI-written summary · about
chapters (15)
- 0:00Introduction and welcome
- 1:09Why query stream processing state
- 3:20Flink architecture overview
- 5:51Streaming systems dual nature
- 7:15Core premise of stream processing
- 10:07Why Flink for this feature
- 11:56Querying Flink state store
- 14:06Demo setup explanation
- 16:17Live demo attempt
- 20:10Querying state store methods
- 22:36Scaling query layer in Flink
- 24:21Real-world use cases
- 25:29Queriable state deprecation
- 27:15Future of Flink state queries
- 28:42Q&A and closing
