摘要: 1、pom.xml: 注意:此处spark-streaming的依赖试了很多版本,都不好用,最终调试成功的为下面代码中所使用的版本。 <dependencies> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-s 阅读全文