美文网首页
spark-streaming

spark-streaming

作者: 焉知非鱼 | 来源:发表于2017-10-30 22:04 被阅读8次
.set("spark.streaming.receiver.writeAheadLog.enable", "true") // 

To ensure zero data loss, enable the Write Ahead Logs (introduced in Spark 1.2). This synchronously saves all the received Kafka data into write ahead logs on a distributed file system (e.g HDFS), so that all the data can be recovered on failure. See Deploying section in the streaming programming guide for more details on Write Ahead Logs.

相关文章

网友评论

      本文标题:spark-streaming

      本文链接:https://www.haomeiwen.com/subject/toompxtx.html