Open ananth3010 opened 7 years ago
You can do this with DStream.foreachRDD { rdd => df = rddToDataFrame(rdd) }
This post shows Spark 2.4 Avro features and Kafka https://databricks.com/blog/2018/11/30/apache-avro-as-a-built-in-data-source-in-apache-spark-2-4.html
Hi
The current version reads .avro files from HDFS (or) any FS file path. I am storing my avro file stream in Kafka. Do you have a utility to read a avro stream (or) file from a Kafka topic?
If so could you let me know?