You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
avsc is a pure JavaScript implementation of the [Avro specification](https://avro.apache.org/docs/current/spec.html) (compliant with the current version, 1.8.1).
However the current latest version of the Avro specification is 1.11.1
Does avsc still only implement Avro 1.8.1, or does it implement a later version that the docs need to be updated to reflect?
The text was updated successfully, but these errors were encountered:
Hi @fergalmonaghan. avsc implements 1.8.1 and a subset of newer features (see #238). I haven't kept up with specification updates but I'm open to adding functionality to catch up. To start, it would be helpful to know which new features are most useful.
Hi @mtth ! A very useful feature, introduced in Avro 1.9.1, would be the possibility to specify an enum default symbol, in order to ensure compatibility.
Hi @mtth ! A very useful feature, introduced in Avro 1.9.1, would be the possibility to specify an enum default symbol, in order to ensure compatibility.
@mtth hi :) Any news on this? To be more precise, I am using avsc to generate an avro schemas composing different "smaller" schemas.
My problem is that, if I add to the avsc registry a schema an enum default symbol, then then generated schemas which uses the enum I added in the registry won't have it.
For example, if I add to the registry a schema like this:
{
"type": "enum",
"name": "MyEnum",
"symbols": [
"a",
"b",
"Unknown"
],
/*
* Symbol default - for forwards compatibility -
* new in Avro 1.9.0
*/
"default": "Unknown"
}
And then I try to generate, using avsc and the registry, the schema for this avro:
The Wiki docs here https://github.com/mtth/avsc/wiki currently say:
avsc is a pure JavaScript implementation of the [Avro specification](https://avro.apache.org/docs/current/spec.html) (compliant with the current version, 1.8.1).
However the current latest version of the Avro specification is 1.11.1
Does avsc still only implement Avro 1.8.1, or does it implement a later version that the docs need to be updated to reflect?
The text was updated successfully, but these errors were encountered: