gogen-avro
gogen-avro copied to clipboard
Generate Go code to serialize and deserialize Avro schemas
Hi, how does gogen-avro support schema evolution and Schema Registry? Thanks
We use schema registry to maintain our schemas & versions. It would be great to have an integration with the same. This is what I propose the solution should look...
I'd like to read arbitrary avro messages from Kafka, where the topic is specified at build time, and the avro schema is pulled from our schema registry. I thought I'd...
Implementing logical types that provide automatic serialisation and deserialisation of higher level types into/from Avro primitive types is a highly deserable feature and is implemented by https://github.com/linkedin/goavro [here](https://github.com/linkedin/goavro/blob/c2e63e59e057ed5553a1641a63ec3bd4462f9f0b/logical_type.go). Logical types...
The [specification](https://avro.apache.org/docs/current/spec.html#Schema+Resolution) says: > [to match] both schemas are records with the same (unqualified) name However [the code](https://github.com/actgardner/gogen-avro/blob/master/compiler/method.go#L164) checks the fully qualified names, leading to an "Incompatible types by name"...
example, I have a schema with many union null types since to be backwards compatible this is how they need to be added schema ``` { "type": "record", "namespace": "event",...
Hello. While using version 3 of the generator, if the avro schema contains a type that is part of a namespace code generation fails. This is because the name of...
Hi, @actgardner! Just wanted to tell you I'm doing some experiments in the branch "wip-code-refactoring" of my fork, based in the PR #127 I opened some days ago. In my...
HI, It would be super cool if you give some examples of working properly for serialization/deserialization the Logical data types with gogen avro structs. I am in stack with the...
Seems most Golang Avro uses JSON not the avdl format. Looking around I found: https://github.com/apache/avro/blob/8026c8ffe4ef67ab419dba73910636bf2c1a691c/lang/java/tools/src/main/java/org/apache/avro/tool/IdlToSchemataTool.java As the java implementation to parse a avdl file. And I see them in javascript...