From 9c48bd8099d6b6c88bb496e6d24c73141db6bf7c Mon Sep 17 00:00:00 2001 From: "Philip L. McMahon" Date: Sun, 24 May 2015 09:55:19 -0700 Subject: [PATCH] =doc Correct typos in "Streaming File IO" section --- akka-docs-dev/rst/java/stream-io.rst | 4 ++-- akka-docs-dev/rst/scala/stream-io.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/akka-docs-dev/rst/java/stream-io.rst b/akka-docs-dev/rst/java/stream-io.rst index f58af3c5a5..9abf926156 100644 --- a/akka-docs-dev/rst/java/stream-io.rst +++ b/akka-docs-dev/rst/java/stream-io.rst @@ -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 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 -dispatcher for file IO operations globally, you can do so by changing the ``akka.strea.file-io-dispatcher``, -or for a specific stage by spefifying a custom Dispatcher in code, like this: +dispatcher for file IO operations globally, you can do so by changing the ``akka.stream.file-io-dispatcher``, +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 diff --git a/akka-docs-dev/rst/scala/stream-io.rst b/akka-docs-dev/rst/scala/stream-io.rst index 83023ef1ff..b1e5a05302 100644 --- a/akka-docs-dev/rst/scala/stream-io.rst +++ b/akka-docs-dev/rst/scala/stream-io.rst @@ -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 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 -dispatcher for file IO operations globally, you can do so by changing the ``akka.strea.file-io-dispatcher``, -or for a specific stage by spefifying a custom Dispatcher in code, like this: +dispatcher for file IO operations globally, you can do so by changing the ``akka.stream.file-io-dispatcher``, +or for a specific stage by specifying a custom Dispatcher in code, like this: .. includecode:: code/docs/stream/io/StreamFileDocSpec.scala#custom-dispatcher-code