<dependency> <!--structurStreaming读取kafka1.0以下必须的jar--> <groupId>org.apache.spark</groupId> <artifactId>spark-sql-kafka-0-10_2.11</artifactId> <version>2.2.1</version></dependency>