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

[clients/avro] Avro IDL example #61

Open
OneCricketeer opened this issue Oct 22, 2018 · 2 comments
Open

[clients/avro] Avro IDL example #61

OneCricketeer opened this issue Oct 22, 2018 · 2 comments

Comments

@OneCricketeer
Copy link

AVSC is nice, but JSON is verbose and can be consolidated using Avro IDL (AVDL) syntax.

@ybyzek
Copy link
Contributor

ybyzek commented Oct 23, 2018

@Cricket007 : what level of adoption do you see of AVSC compared to AVDL? My general understanding is that more customers use AVSC?

@OneCricketeer
Copy link
Author

OneCricketeer commented Oct 23, 2018

I mostly see AVSC being used in non Java code or when trying to teach people Avro is really just a strongly typed JSON record.

IDL on the other hand allows composition rules (imports), and multiple records can be defined in a single "protocol". This allows a more natural inheritance design rather than heavily nesting and repetitive copying of JSON objects in AVSC definitions.

It works better for comparing to a Thrift & Protobuf knowledge base.

The Maven plugin supports both, so just was going to offer a translation of the existing AVSC code

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