Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to 'avro-js' from 'avsc' #241

Closed
snird opened this issue May 26, 2023 · 2 comments
Closed

Move to 'avro-js' from 'avsc' #241

snird opened this issue May 26, 2023 · 2 comments

Comments

@snird
Copy link

snird commented May 26, 2023

avsc: https://www.npmjs.com/package/avsc
avro-js: https://www.npmjs.com/package/avro-js

avsc is lagging way behind in the protocol implementation. Its implementation is 1.8-ish compatible:
mtth/avsc#238

And it isn't seem to be worked on anymore.

avro-js is the official implementation, and is fully compatible with the latest 1.11.1:
https://github.com/apache/avro/tree/master/lang/js

The API of the libraries is compatible.
I hot-switched for avro-js in this fork:
https://github.com/snird/confluent-schema-registry-avro-js
(not ready or aimed to be ready for merge)

It works as expected and working on production load at the moment.

I see no reason not to move to avro-js in this repo.

@snird snird closed this as completed May 27, 2023
@potyl
Copy link

potyl commented Jul 5, 2023

I see that this issue is closed but there doesn't seem a corresponding PR. Is avro-js going to be replacing avsc?

@snird the repo https://github.com/snird/confluent-schema-registry-avro-js is gone.

@snird
Copy link
Author

snird commented Jul 5, 2023

Avro-js does not support BigInt or something like that for big numbers.
So even though they implemented a more recent spec, it is effectively unusable in a production environment.
That's why I deleted this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants