spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Berman <igor.ber...@gmail.com>
Subject Re: Spark streaming readind avro from kafka
Date Wed, 01 Jun 2016 20:29:49 GMT
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 <justneeraj@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-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>
>

Mime
View raw message