new SparkConf().setAppName("XX").setMaster("local")
.set("spark.streaming.kafka.consumer.poll.ms", "30000");
https://blog.youkuaiyun.com/lmb09122508/article/details/80522252
本文介绍如何使用newSparkConf设置Spark应用程序的基本配置,并特别强调了针对Kafka消费者轮询时间的具体参数设定。
new SparkConf().setAppName("XX").setMaster("local")
.set("spark.streaming.kafka.consumer.poll.ms", "30000");
https://blog.youkuaiyun.com/lmb09122508/article/details/80522252
4614
2316
3582
4413
1466
4537
769
714

被折叠的 条评论
为什么被折叠?