AbstractMethodError creating Kafka stream

前端 未结 3 662
失恋的感觉
失恋的感觉 2021-02-07 07:17

I\'m trying to open a Kafka (tried versions 0.11.0.2 and 1.0.1) stream using createDirectStream method and getting this AbstractMethodError error:

E         


        
3条回答
  •  情歌与酒
    2021-02-07 07:44

    Turns out I was using Spark 2.3 and I should've been using Spark 2.2. Apparently that method was made abstract in the later version so I was getting that error.

提交回复
热议问题