Activity Stream

What is an Activity Stream?

Activity Stream is a specific protocol or a name given to a concept for logging business-level events in a structured way. These can even be recent events/occurring happened or happening during the recent time.

Example: Facebook's news feed, GitHub’s activity feed.

Working of Activity Stream

In an activity stream, the event is first broken into an English sentence that has Actor, Verb, Object and Target. Then a collection/ table is created with the name of the activity in which the above activities are mentioned as fields. Finally, the business events are broken into Placed, Delivered, Sent and Dispatched. This way every business event is logged into the activity stream.