Commit for reading the file from local and publishing to Kafka and writing it into the csv using Spark