- 链接地址:https://blog.csdn.net/DearNingning/article/details/118191778#comments_17230782
- 链接标题:SPARK-STREAMING-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:9333
文章浏览阅读73次。import org.apache.spark.SparkConfimport org.apache.spark.streaming.dstream.{DStream, ReceiverInputDStream}import org.apache.spark.streaming.{Seconds, StreamingContext}//只算当前批次object wordandcount { def main(args: Array[String]): Unit = { val conf:
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除