Comments (7)
In Kafka with a registry, no compatibility is needed as the schema id is in the message.
In either cause the compatibility function will not change and is not wrong. Should you wish to have one that considers field ordering I suggest you use your own function.
from avro.
If you read the rules dictating schema compatibility here: https://avro.apache.org/docs/1.11.1/specification/_print/#schema-resolution
if both are records:
the ordering of fields may be different: fields are matched by name.
This is generally the same for all the cases you mention.
from avro.
from avro.
You need to make a compatibility schema between the reader and the writer, which avro
does not yet support. But the compatibility function is correct.
from avro.
from avro.
Cross schema reading is not supported in avro
yet.
from avro.
from avro.
Related Issues (20)
- Encoding to JSON does not reference reused types HOT 1
- Unmarshaling Interface Types in a Union HOT 6
- Reset the schema cache? HOT 4
- AVRO schema refs with Hamba avro HOT 8
- Support original name for structs
- Add protocol original schema string HOT 4
- Infinite loop parsing recursive schema HOT 1
- Encoding a struct with a sub-record field default value failed HOT 2
- avrogen: does not support logicalType: "uuid" in a union
- Support TextMarshaler/TextUnmarshaler for map keys HOT 2
- need an method generate schema from struct HOT 7
- Bug for tree typed schema HOT 2
- [BUG] array schema cannot be correctly parsed HOT 4
- Local timestamp logical types HOT 1
- Add support for Zstandard compression
- Enum schema evolution for missing value in reader schema but with default HOT 3
- Question about max byte slice HOT 6
- Performance degradation in v2.19.0 HOT 4
- Wrong decoding of nested map HOT 1
- Infinite loop parsing recursive array type HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avro.