From the course: Stream Processing Design Patterns with Kafka Streams

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Alerts and thresholds: Review

Alerts and thresholds: Review

- [Instructor] In this video, we will execute the code for alerts and thresholds use case and review the results. First, I will start to instances of Kafka console consumers to subscribe to the critical and high volume topics. Please note that these commands are run from the Kafka installation directory. Once data starts getting into these topics, we can see the contents in real time here. Now, we go to the pipeline code and start it. We can see that the Kafka alerts data generator is pushing new exception messages to the input topic. The pipeline also shows receiving the same data. We can see that the summaries are being computed and the high volume alerts are being flagged. Now we can switch to the console consumers to see what is happening there. We see that the critical alerts topic gets only the critical alerts as expected. The high volume topic shows the intervals where the volumes exceed the specific threshold of two…

Contents