SparkStreaming监听windows10下面的文件夹
1、代码import org.apache.log4j.{Level, Logger}import org.apache.spark.SparkConfimport org.apache.spark.streaming.dstream.{DStream, ReceiverInputDStream}import org.apache.spark.streaming.{Seconds, StreamingContext}/** * @Author caoerbiao * @Date 2020/
原创
2020-06-03 09:34:07 ·
886 阅读 ·
2 评论