You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Yogesh Vyas <in...@gmail.com> on 2017/04/05 06:11:23 UTC
reading binary file in spark-kafka streaming
Hi,
I am having a binary file which I try to read in Kafka Producer and send to
message queue. This I read in the Spark-Kafka consumer as streaming job.
But it is giving me following error:
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa9 in position 112:
invalid start byte
Can anyone please tell me why that error is and how to fix it?
Regards,
Yogesh