!str #17406: Remove references to removed allowCycles() in docs
This commit is contained in:
parent
662dd035a0
commit
bf47c93504
2 changed files with 7 additions and 8 deletions
|
|
@ -217,15 +217,14 @@ The following example demonstrates a case where the materialized ``Future`` of a
|
||||||
Graph cycles, liveness and deadlocks
|
Graph cycles, liveness and deadlocks
|
||||||
------------------------------------
|
------------------------------------
|
||||||
|
|
||||||
By default :class:`FlowGraph` does not allow (or to be precise, its builder does not allow) the creation of cycles.
|
Cycles in bounded flow graphs need special considerations to avoid potential deadlocks and other liveness issues.
|
||||||
The reason for this is that cycles need special considerations to avoid potential deadlocks and other liveness issues.
|
|
||||||
This section shows several examples of problems that can arise from the presence of feedback arcs in stream processing
|
This section shows several examples of problems that can arise from the presence of feedback arcs in stream processing
|
||||||
graphs.
|
graphs.
|
||||||
|
|
||||||
The first example demonstrates a graph that contains a naive cycle (the presence of cycles is enabled by calling
|
The first example demonstrates a graph that contains a naive cycle.
|
||||||
``allowCycles()`` on the builder). The graph takes elements from the source, prints them, then broadcasts those elements
|
The graph takes elements from the source, prints them, then broadcasts those elements
|
||||||
to a consumer (we just used ``Sink.ignore`` for now) and to a feedback arc that is merged back into the main stream via
|
to a consumer (we just used ``Sink.ignore`` for now) and to a feedback arc that is merged back into the main
|
||||||
a ``Merge`` junction.
|
via a ``Merge`` junction.
|
||||||
|
|
||||||
.. includecode:: ../../../akka-samples/akka-docs-java-lambda/src/test/java/docs/stream/GraphCyclesDocTest.java#deadlocked
|
.. includecode:: ../../../akka-samples/akka-docs-java-lambda/src/test/java/docs/stream/GraphCyclesDocTest.java#deadlocked
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -275,8 +275,8 @@ Cycles in bounded flow graphs need special considerations to avoid potential dea
|
||||||
This section shows several examples of problems that can arise from the presence of feedback arcs in stream processing
|
This section shows several examples of problems that can arise from the presence of feedback arcs in stream processing
|
||||||
graphs.
|
graphs.
|
||||||
|
|
||||||
The first example demonstrates a graph that contains a naïve cycle (the presence of cycles is enabled by calling
|
The first example demonstrates a graph that contains a naïve cycle.
|
||||||
``allowCycles()`` on the builder). The graph takes elements from the source, prints them, then broadcasts those elements
|
The graph takes elements from the source, prints them, then broadcasts those elements
|
||||||
to a consumer (we just used ``Sink.ignore`` for now) and to a feedback arc that is merged back into the main stream via
|
to a consumer (we just used ``Sink.ignore`` for now) and to a feedback arc that is merged back into the main stream via
|
||||||
a ``Merge`` junction.
|
a ``Merge`` junction.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue