Avro file contains metadata with schema(writer schema) in Kafka there is no such thing, you should put message that will contain some reference to known schema(put whole schema will have big overhead) some people use schema registry solution
On 1 June 2016 at 21:02, justneeraj <justnee...@gmail.com> wrote: > +1 > > I am trying to read avro from kafka and I don't want to limit to a small > set > of schema. So I want to dynamically load the schema from avro file (as avro > contains schema as well). And then from this I want to create a dataframe > and run some queries on that. > > Any help would be really thankful. > > Thanks, > Neeraj > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Spark-streaming-readind-avro-from-kafka-tp22425p27067.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > >