Kafka client upgrade is not a trivial change which may or may not work
since new versions can contain incompatible API and/or behavior changes.
I've collected how Spark evolved in terms of Kafka client and there I've
gathered the breaking changes to make our life easier.
Have a look and based on that you can make your choice:
https://gist.github.com/gaborgsomogyi/3476c32d69ff2087ed5d7d031653c7a9

As a general suggestion it would be best to upgrade Spark as-is because
we've added many fixes which one can face...

Hope this helps!

G


On Fri, Mar 12, 2021 at 9:45 AM Renu Yadav <yren...@gmail.com> wrote:

> Hi Team,
>  I am using spark -2.2 and spark_streamin_kafka 2.2  , which is pointing
> to kafka-client 0.10 . How can I upgrade a kafka client to kafka 2.2.0 ?
>
> Thanks & Regards,
> Renu Yadav
>

Reply via email to