Spark not showing Kafka Data Properly
I'm trying to use kafka data using pyspark but I having difficult because it's in Hashmap type
The Question is, how can I convert this to a useful df to be treated in pyspark?
This is the output and my actual code:
This is the output
This is my actual code
Any suggestion and steps?

