Why does format(“kafka”) fail with “Failed to find data source: kafka.” (even with uber-jar)?

前端 未结 6 1579
难免孤独
难免孤独 2020-11-30 10:23

I use HDP-2.6.3.0 with Spark2 package 2.2.0.

I\'m trying to write a Kafka consumer, using the Structured Streaming API, but I\'m getting the following error after su

6条回答
  •  南笙
    南笙 (楼主)
    2020-11-30 10:56

    For uber-jar, adding ServicesResourceTransformer to shade-plugin works for me.

    
        
    
    

提交回复
热议问题