Introduction
Interactive queries let you ask a running Kafka Streams application for the current state of its data. This helps you get real-time answers without waiting for data to be stored elsewhere.
When you want to check the current count of events processed by your streaming app.
When you need to get the latest value of a key from your Kafka Streams state store.
When you want to build a dashboard that shows live data from your streaming application.
When you want to avoid querying an external database and instead ask the streaming app directly.
When you want to combine streaming processing with fast, on-demand data lookups.