February 2018
Intermediate to advanced
552 pages
13h 46m
English
In the Akka Streams API, PartitionHub acts as a Sink from a common producer to a dynamic set of consumers. We can attach this Hub into any number of dynamic consumers. 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 PartitionHub component; however, we can connect this Hub to any number of consumers.
The major difference between BroadcastHub and PartitionHub is this:
Read now
Unlock full access