Trying to port my Spark 2.4 based (Structured) streaming application to Spark 3.0. I compiled it using the dependency given below:


Every time I run it under Spark 3.0, I get this message: Data source v2 streaming sinks does not support Update mode

I am using 'mapGroupsWithState' so as per this link (, the only supported Output mode is "Update". 

My Sink is a Kafka topic so I am using this:


What am I missing?