Resolved that compilation issue using AvroKey and AvroKeyInputFormat.
val avroDs = ssc.fileStream[AvroKey[GenericRecord], NullWritable,
AvroKeyInputFormat[GenericRecord]](input)
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Reading-Avro-files-from-Streaming-tp23709p23722.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]