Hi @Nis ,
Spark Structured Streaming manages which offsets are consumed internally, rather than rely on the kafka Consumer to do it. Spark manages the source offsets and write them to the spark streaming query checkpoint.
So the answer is no, you cannot commit a Kafka offset through a spark structured streaming query.
Might be worth checking https://stackoverflow.com/questions/50844449/how-to-manually-set-group-id-and-commit-kafka-offsets-i....
Best regards,
Raphael Balogo
Sr. Technical Solutions Engineer
Databricks