!str #16937 Remove section, in favor of via and separate flow
This commit is contained in:
parent
bb0bed7d3c
commit
b69988c190
36 changed files with 190 additions and 271 deletions
|
|
@ -37,7 +37,7 @@ elements that cause the division by zero are effectively dropped.
|
|||
Be aware that dropping elements may result in deadlocks in graphs with
|
||||
cycles, as explained in :ref:`graph-cycles-java`.
|
||||
|
||||
The supervision strategy can also be defined for a section of flow operators.
|
||||
The supervision strategy can also be defined for all operators of a flow.
|
||||
|
||||
.. includecode:: ../../../akka-samples/akka-docs-java-lambda/src/test/java/docs/stream/FlowErrorDocTest.java#resume-section
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ which will be responsible for materializing and running the streams we are about
|
|||
|
||||
The :class:`ActorFlowMaterializer` can optionally take :class:`ActorFlowMaterializerSettings` which can be used to define
|
||||
materialization properties, such as default buffer sizes (see also :ref:`stream-buffers-java`), the dispatcher to
|
||||
be used by the pipeline etc. These can be overridden on an element-by-element basis or for an entire section, but this
|
||||
be used by the pipeline etc. These can be overridden on a flow, source and sink, but this
|
||||
will be discussed in depth in :ref:`stream-section-configuration`.
|
||||
|
||||
Let's assume we have a stream of tweets readily available, in Akka this is expressed as a :class:`Source<Out>`:
|
||||
|
|
|
|||
|
|
@ -66,7 +66,8 @@ Alternatively they can be set by passing a :class:`ActorFlowMaterializerSettings
|
|||
|
||||
.. includecode:: ../../../akka-samples/akka-docs-java-lambda/src/test/java/docs/stream/StreamBuffersRateDocTest.java#materializer-buffer
|
||||
|
||||
If buffer size needs to be set for segments of a Flow only, it is possible by defining a ``section()``:
|
||||
If buffer size needs to be set for segments of a :class:`Flow` only, it is possible by defining a separate
|
||||
:class:`Flow` with these attributes:
|
||||
|
||||
.. includecode:: ../../../akka-samples/akka-docs-java-lambda/src/test/java/docs/stream/StreamBuffersRateDocTest.java#section-buffer
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue