akkaakka-streams custom shapes


Remarks

akka provides some pre-defined shapes, that should probably fit 99.9% of your usage. creating a new shape should only be done in some very rare cases. the pre-defined shapes are:

  • Source - 1 outlet, no inlets
  • Sink - 1 inlet, no outlets
  • Flow - 1 inlet, 1 outlet
  • BidiFlow - 2 inlets, 2 outlets
  • Closed - no inlets, no outlets
  • FanInN - N inlets (N <= 22), 1 outlet
  • FanOutN - N outlets (N <= 22), 1 inlet
  • UniformFanIn - any number of inlets of the same type, 1 outlet
  • UniformFanOut - any number of outlets of the same type, 1 inlet
  • Amorphous - any number of inlets or outlets, but untyped.