Appendix P. Reference for streaming
This appendix contains reference material for streaming. Ingestion via streaming is covered in chapter 10. This appendix extends and summarizes key information from the Spark reference documentation at http://mng.bz/RAMZ.
Lab Examples from this appendix are available in GitHub at https://github.com/jgperrin/net.jgp.books.spark.ch10 .
P.1 Output mode
The output mode will tell the query how to behave when it receives new data. Table P.1 provides details of the output modes. The reference can be found in Spark’s Javadoc at http://mng.bz/2XWg .
Output mode |
Constant |
Description |
Append (default) |
|
Only the new rows are added ... |
Get Spark in Action, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.