concept summary in category akka

appears as: summaries, summary
Akka in Action

This is an excerpt from Manning's book Akka in Action.

A Broadcast is added on every filtered flow. One output is writing to the log file Sink as usual, and the other output is used to send data to downstream services. (The expectation here is that the log file Sinks are really fast, so they aren’t buffered.) A MergePreferred stage merges all notification summaries to a Sink for the notification service, preferring the critical event summaries over error and warning summaries. A critical event summary always contains one critical event. In effect, it’s not rolled up but immediately sent through.

13.5.1. Slow consumer, rolling up events into summaries

The log-stream processor will have to write Summaries to a notifications service that notifies operators of important events. Notification summaries are prioritized: critical events are immediately sent one by one, whereas errors and warnings are rolled up into summaries based on a time window or a maximum number of events.