am trying to insert spark stream into kafka after being processed using the below snippet
query = ds1 \\ .selectExpr("CAST(value AS STRING)")\\