Failed to find data source: kafka

Posted code changes the world

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Failed to find data source: kafka相关的知识,希望对你有一定的参考价值。

缺少包,在spark-submit 中指定 packages 如下:

--packages org.apache.spark:spark-sql-kafka-0-10_2.11:2.1.0

 

以上是关于Failed to find data source: kafka的主要内容,如果未能解决你的问题,请参考以下文章

Gradle sync failed: failed to find Build Tools revision 21.1.2

repackage failed: Unable to find main class

Gradle sync failed: Failed to find Build Tools revision 26.0.2的解决办法

Failed to find Build Tools revision 28.0.3

依赖ConstraintLayout报错,Could not find *****,Failed to resolve:*****

ceph:failed to find client.admin in keyring