concept engine in category streaming

This is an excerpt from Manning's book Grokking Streaming Systems.
Stream processing frameworks simplify the work of developing systems dramatically. A typical stream processing framework has two layers: the engine and the API. The engine layer provides the support of features common to all systems such as data management, process management, resource management, and failure handling. Different frameworks may choose different features to support or different ways to support these features to meet their own design goals. But overall, they all construct a basic run-time architecture to execute jobs written by developers. The diagram below shows an engine in run-time.
A running engine doesn’t do anything useful by itself. In order to allow users to hook up their own logic, frameworks provide APIs. Executors in the engines can drive user logic implemented with corresponding API and manages the input and output data. In addition, APIs also allow users to specify how components are connected to each other to build the whole stream processing systems.
Providing an engine to execute the streaming job. We will see the API later. It should be understood that the goal of this book is not to teach you how to use the streamwork API, only to use it as a framework agnostic tool. Let’s look at the engine first. The below diagram attempts to describe at a high level all of the moving pieces in the streamwork framework. It should be understood that there is another process that starts each of the executors and each executor starts a data source or a component. Each executor is stand alone and does not stop or start other executors.
Stream evalScores1 = …… Stream evalScores2 = …… Stream evalScores3 = …… Operator aggregator = new ScoreAggregator( “aggregator”, 2, new GroupByTransactionId()); Streams.of(evalScores1, evalScores2, evalScores3) #A .applyOperator(aggregator); #B