I am creating a simple kafka spark streaming program where, I read the data from topic, process it using UDF and print the key,processed value in console. Processig in uDF