https://github.com/abhirockzz/kafka-streams-interactive-queries
Interactive Queries in Kafka Streams
https://github.com/abhirockzz/kafka-streams-interactive-queries
docker jaxrs jersey kafka kafka-streams stream-processing
Last synced: 3 months ago
JSON representation
Interactive Queries in Kafka Streams
- Host: GitHub
- URL: https://github.com/abhirockzz/kafka-streams-interactive-queries
- Owner: abhirockzz
- Created: 2018-12-12T10:46:04.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-12T10:57:14.000Z (almost 7 years ago)
- Last Synced: 2025-04-09T22:43:33.087Z (6 months ago)
- Topics: docker, jaxrs, jersey, kafka, kafka-streams, stream-processing
- Language: Java
- Homepage: https://medium.com/@abhishek1987/kafka-streams-interactive-queries-9a05ff92d75a
- Size: 13.7 KB
- Stars: 13
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Practical example for Interactive Queries feature in Kafka Streams. It covers the DSL API and how the state store information was exposed via a REST service.
For details [check this blog](https://medium.com/@abhishek1987/kafka-streams-interactive-queries-9a05ff92d75a)
Everything is setup using Docker including Kafka, Zookeeper, the stream processing services as well as the producer app
Here are the key components
- Metrics producer service - pushes machine metrics (simulated) to Kafka
- Average Processor service - calculates the average of the stream of generated metrics and exposes REST APIs to query them