Unidirectional Streaming

The Unidirectional streaming pattern is one in which a sender emits data continuously to a receiver.

The sender might be a service that has direct knowledge of the receiver, such as a cell phone connected to a website on the internet and continuously sending GPS information about its location, as shown below.

Or, a sender might be connected to a broker technology that in turn forwards the stream via some sort of topic/inbox mechanism.

  • The receivers bound to an “inbox” on the broker receive a continuous flow of messages accordingly.

Apache Kafka is an example of a message broker technology that implements Unidirectional streaming.