1. 批次间隔大于3s 2. 文件地址写成绝对路径且使用file:///开头 例:ssc.textFileStream(“file:///D:/cs/scalaPro/SparkDemo/data”) 3. 读取目录中的文件以文件流形式写入该目录下