Interactive Queries & State Stores
Learn how Kafka Streams exposes its local state stores for direct querying, turning a stream app into a low-latency materialized view.
State Stores Recap
Stateful operations like aggregations and joins keep their data in state stores — local key-value stores backed by changelog topics for fault tolerance.
Normally results flow out to a topic, but they also live right inside your app.
What Are Interactive Queries?
Interactive Queries (IQ) let your application read those local state stores directly — no extra database, no re-consuming a topic.
Your streaming app effectively becomes a queryable materialized view.
All lessons in this course
- Windowing Operations in Kafka Streams
- Joins & Aggregations in Streams
- Introduction to KSQL for Stream Analytics
- Interactive Queries & State Stores