avro Questions
6
I have windows environment and my own set of kafka and zookeeper running. To use custom objects, I started to use Avro. But I needed to get the registry started. Downloaded Confluent platform and r...
Overcheck asked 24/8, 2016 at 17:4
0
I have a no-sql db where I am storing serialized avro objects. I use sbt-avro plugin to generate java classes specifically addSbtPlugin("com.cavorite" % "sbt-avro-1-8" % "1.1.5"). Now I want to add...
3
Solved
Is there a way to convert a JSON string to an Avro without a schema definition in Python? Or is this something only Java can handle?
2
Solved
I like to use the same record type in an Avro schema multiple times. Consider this schema definition
{
"type": "record",
"name": "OrderBook",
"namespace": "my.types",
"doc": "Test order updat...
Matriarch asked 4/1, 2018 at 17:31
2
Currently we are using Avro data format in production.
Out of several good points using Avro, we know that it is good in schema evolution.
Now we are evaluating Parquet format because of its effic...
Hoagland asked 5/6, 2016 at 17:15
3
I am fairly new to Avro and going through documentation for nested types. I have the example below working nicely but many different types within the model will have addresses. Is it possible to de...
Frankhouse asked 26/3, 2015 at 14:8
1
I am seeing some conflicting information about this in different places online, so would appreciate and authoritative answer from someone, who actually knows.
Suppose, I am serializing some stuff ...
Subcartilaginous asked 3/5, 2017 at 12:55
1
Solved
I am trying to read avro messages from Kafka, using PySpark 2.4.0.
The spark-avro external module can provide this solution for reading avro
files:
df = spark.read.format("avro").load("examples/s...
Ceroplastics asked 14/2, 2019 at 14:48
1
Solved
There is somethigng I'm trying to understand about how Avro-serialized messages are treated by Kafka and Schema Registry - from this post I've understood the schema ID is stored in an predictable p...
Succulent asked 21/1, 2019 at 11:59
3
Solved
I have a spring application that is my kafka producer and I was wondering why avro is the best way to go.
I read about it and all it has to offer, but why can't I just serialize my POJO that I cre...
Verdha asked 15/1, 2019 at 9:18
1
Solved
What is the correct way to create avro schema for object with array of strings?
I am trying to create avro schema to object that have array of strings according to official documenation? but I ge...
1
Solved
I am trying to create a Kafka Streams Application which processes Avro records, but I am getting the following error:
Exception in thread "streams-application-c8031218-8de9-4d55-a5d0-81c30051a829-...
Enabling asked 18/12, 2018 at 14:42
3
Solved
I am curious to understand the best practice for encoding one very specific type of data within Avro: UUIDs.
1
Solved
Now that Spark 2.4 has built-in support for Avro format, I'm considering changing the format of some of the data sets in my data lake - those that are usually queried/joined for entire rows rather ...
Eirene asked 1/12, 2018 at 14:44
1
Solved
I'm using following tool
<dependency>
<groupId>tech.allegro.schema.json2avro</groupId>
<artifactId>converter</artifactId>
<version>0.2.7</version>
<...
Livelong asked 19/11, 2018 at 17:48
1
I have an event sourced application built on top of Kafka. Currently I have one Topic that has multiple message types in it. All serialized/deserialized with JSON.
The schema registry from conflue...
Sprayberry asked 19/7, 2018 at 18:39
4
Solved
I get tweets from kafka topic with Avro (serializer and deserializer).
Then i create a spark consumer which extracts tweets in Dstream of RDD[GenericRecord].
Now i want to convert each rdd to a dat...
Balmy asked 13/11, 2017 at 12:46
2
Solved
I have been trying to connect with kafka-avro-console-consumer from Confluent to our legacy Kafka cluster, which was deployed without Confluent Schema Registry.
I provided schema explicitly using ...
Excruciation asked 19/9, 2018 at 6:24
2
Solved
We have vanilla apache Kafka setup in current infrastructure and we started logging some data that we want to process using Kafka Connect. Currently we use Avro for our message format, but there's ...
Englis asked 14/9, 2018 at 13:40
2
Solved
How to use Spring-Kafka to read AVRO message with Confluent Schema registry? Is there any sample? I can't find it in official reference document.
Boltrope asked 23/8, 2018 at 6:16
2
Solved
How to convert Avro GenericRecord to Json using while coverting timestamp fields from milliseconds to datetime?
Currently using Avro 1.8.2
Timestamp tsp = new Timestamp(1530228588182l);
Schema...
Fino asked 23/8, 2018 at 9:21
6
I can do,
{
"type": "record",
"name": "Foo",
"fields": [
{"name": "bar", "type": {
"type": "record",
"name": "Bar",
"fields": [ ]
}}
]
}
and that works fine, but supposing I want to spl...
Vestigial asked 3/2, 2014 at 22:24
1
I am new to AWS Glue and am having difficulty fully understanding the AWS docs, but am struggling through the following use case:
We have an s3 bucket with a number of Avro files. We have decided ...
Sada asked 9/2, 2018 at 20:58
1
I do have a number of queries about AVRO schema.
I have read that, we need to pass a schema id and the message in the Kafka event.The body of my Kafka event is like -
{
"componentName": "ABC"...
1
Solved
I have a JSON file and an avro schema file, which correctly describes it's structure.
I then convert the JSON file with the Avro tools into an avro file, without getting an error, like this:
java ...
Kinsella asked 3/7, 2018 at 7:7
© 2022 - 2024 — McMap. All rights reserved.