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: Pattern

Alerts and thresholds: Pattern

- [Tutor] In this chapter, I will discuss the alert and thresholds pattern and implement an example pipeline for that pattern in Kafka Streams. What does the alerts and thresholds pattern? It is a pattern to analyze streaming data in real time, compare it against configured thresholds, identify exceptions, and then publish these exceptions to special output streams. Alerts and thresholds is an important streaming pattern that is used widely for critical functions including life saving and resiliency use cases. What are some of the most popular use cases? In e-commerce thresholds can be used to analyze if a product is being added to shopping carts but abandoned. Analyzing the volume of such behavior and triggering alerts will help marketing teams to focus on why they are seeing such customer behavior and rectify issues in real time. In healthcare, while monitoring patient vitals, if the vitals exceed a specific thresholds then…

Contents