February 2018
Intermediate to advanced
552 pages
13h 46m
English
In the Akka Streams API, BroadcastHub acts as a Sink for incoming elements or values. We can attach this Hub into any number of dynamic consumers. This means that we can materialize this Hub value into any number of consumers and any number of times. This Hub allows us to implement a Dynamic Fan-Out Junction point in a Graph:

As shown in the preceding diagram, we can attach only one producer to a BroadcastHub component; however, we can connect this Hub to any number of consumers.
Read now
Unlock full access