=doc Correct typos in "Streaming File IO" section
This commit is contained in:
parent
7f04234d3e
commit
9c48bd8099
2 changed files with 4 additions and 4 deletions
|
|
@ -117,7 +117,7 @@ Streaming data from a file is as easy as defining a `SynchronousFileSource` give
|
||||||
Please note that these processing stages are backed by Actors and by default are configured to run on a pre-configured
|
Please note that these processing stages are backed by Actors and by default are configured to run on a pre-configured
|
||||||
threadpool-backed dispatcher dedicated for File IO. This is very important as it isolates the blocking file IO operations from the rest
|
threadpool-backed dispatcher dedicated for File IO. This is very important as it isolates the blocking file IO operations from the rest
|
||||||
of the ActorSystem allowing each dispatcher to be utilised in the most efficient way. If you want to configure a custom
|
of the ActorSystem allowing each dispatcher to be utilised in the most efficient way. If you want to configure a custom
|
||||||
dispatcher for file IO operations globally, you can do so by changing the ``akka.strea.file-io-dispatcher``,
|
dispatcher for file IO operations globally, you can do so by changing the ``akka.stream.file-io-dispatcher``,
|
||||||
or for a specific stage by spefifying a custom Dispatcher in code, like this:
|
or for a specific stage by specifying a custom Dispatcher in code, like this:
|
||||||
|
|
||||||
.. includecode:: ../../../akka-samples/akka-docs-java-lambda/src/test/java/docs/stream/io/StreamFileDocTest.java#custom-dispatcher-code
|
.. includecode:: ../../../akka-samples/akka-docs-java-lambda/src/test/java/docs/stream/io/StreamFileDocTest.java#custom-dispatcher-code
|
||||||
|
|
|
||||||
|
|
@ -117,8 +117,8 @@ Streaming data from a file is as easy as defining a `SynchronousFileSource` give
|
||||||
Please note that these processing stages are backed by Actors and by default are configured to run on a pre-configured
|
Please note that these processing stages are backed by Actors and by default are configured to run on a pre-configured
|
||||||
threadpool-backed dispatcher dedicated for File IO. This is very important as it isolates the blocking file IO operations from the rest
|
threadpool-backed dispatcher dedicated for File IO. This is very important as it isolates the blocking file IO operations from the rest
|
||||||
of the ActorSystem allowing each dispatcher to be utilised in the most efficient way. If you want to configure a custom
|
of the ActorSystem allowing each dispatcher to be utilised in the most efficient way. If you want to configure a custom
|
||||||
dispatcher for file IO operations globally, you can do so by changing the ``akka.strea.file-io-dispatcher``,
|
dispatcher for file IO operations globally, you can do so by changing the ``akka.stream.file-io-dispatcher``,
|
||||||
or for a specific stage by spefifying a custom Dispatcher in code, like this:
|
or for a specific stage by specifying a custom Dispatcher in code, like this:
|
||||||
|
|
||||||
.. includecode:: code/docs/stream/io/StreamFileDocSpec.scala#custom-dispatcher-code
|
.. includecode:: code/docs/stream/io/StreamFileDocSpec.scala#custom-dispatcher-code
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue