myzhan / avroipc

Avroipc is a pure-go-implemented client for flume's avro source
MIT License
4 stars 6 forks source link

Use canonical forms of schemas #40

Open vykulakov opened 4 years ago

vykulakov commented 4 years ago

The Avro specification requires that a client and a server should use the same schema for reading and writing data. Then the specification describes what does it mean the "same" schemas and describes the process called Parsing Canonical Form for Schemas that should be used to compare schemas via its canonical forms and its fingerprints.

So we should implement the described behaviour to make the client more robust.

vykulakov commented 4 years ago

Actually, the issue is more about exploring how to work with canonical forms than about writing code. So additional issues are expected here.