Start with what the consumer needs
How to tell whether a pipeline needs to make events available to consumers or compute results from those events as they arrive.
Event streaming makes an ongoing flow of records available to consumers. A sales application publishes a record for each sale, and a service such as Amazon Kinesis Data Streams keeps those records available for consumers to read independently. One reader does not take a record away from another.
Stream processing computes something from records as they arrive. A job can turn each record into a new shape, or it can combine records over time. For example, a sale says that three units were sold; a running total says how many units have been sold across the sales the job has seen. Retaining and delivering the sale does not calculate that total.
Next up: Sort the statements on what you just read.
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.