concept component in category streaming

This is an excerpt from Manning's book Grokking Streaming Systems.
A typical stream processing system architecture looks similar to the batch processing systems. The whole process is broken into multiple steps called components and data keeps flowing from component to component until the processing steps have completed.
![]()
One major difference is that the components (the source and operators in the diagram above) are not started and stopped repeatedly during the process. Instead, they are long running processes. They keep running and accepting new data to process. Because all components in a system are always available, the intermediate storages between stages in batch processing systems are replaced by data queues. Components are either constantly putting events on queues or pulling events off of the queues.
Overall, a streaming job looks like a flow of events flowing through components. For each component, the component (or components, we will discuss later) directly in front is its upstream component; and the component directly behind is its downstream component. Events flow from an upstream component to a downstream component. If we look at the diagram of the streaming job we built in the previous chapter, events flow from the sensor reader to the vehicle counter. Therefore, the sensor reader is the upstream component and the vehicle counter is the downstream component.