KafkaUtils class not found in Spark streaming

后端 未结 9 1608
囚心锁ツ
囚心锁ツ 2021-01-11 20:14

I have just began with Spark Streaming and I am trying to build a sample application that counts words from a Kafka stream. Although it compiles with sbt package

9条回答
  •  旧时难觅i
    2021-01-11 20:32

    use --packages argument on spark-submit, it takes mvn package in the format group:artifact:version,...

提交回复
热议问题