Time window events with Apache Spark Streaming
- 📅
- 📝 662 words
- 🕙 3 minutes
- 📦 Development
- 🏷️ Apache Spark, Scala
- 💬 1 response
If you’re working with Spark Streaming, you might run into an interesting problem if you want to output an event based on multiple messages within a specific time period.
For example, I want to send a security alert if I see 10 DDOS attempts to an IP address in a five-minute window.