You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/streaming-programming-guide.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -659,7 +659,7 @@ methods for creating DStreams from files and Akka actors as input sources.
659
659
+ Once moved, the files must not be changed. So if the files are being continuously appended, the new data will not be read.
660
660
661
661
For simple text files, there is an easier method `streamingContext.textFileStream(dataDirectory)`. And file streams do not require running a receiver, hence does not require allocating cores.
662
-
If Spark Streaming monitor the directory in nested directories, there is an easier method `streamingContext.textFileStream(dataDirectory, depth)`.
662
+
If Spark Streaming monitor the directory in nested directories, there is an easier method `streamingContext.textFileStream(dataDirectory, depth)`.
663
663
664
664
<span class="badge" style="background-color: grey">Python API</span> As of Spark 1.2,
665
665
`fileStream` is not available in the Python API, only `textFileStream` is available.
0 commit comments