Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

avro code generation /Dynamic typing

Tags:

avro

This might be a silly question, but can anyone explain to me what is meant by dynamic typing ,code generation in context to AVRO ? . I am pretty new to AVRO and would really appreciate if someone can help me in detail to understand this.

Also , AVRO has a datatype named fixed, what would be a practical scenario to use this data type ?

like image 236
Garfield Avatar asked Mar 21 '26 06:03

Garfield


1 Answers

Code generation refers to the code which we generate based on our file schema using avro tools. So when you say serialize/deserialize the data without code generation then it means you rae including the schema in your program and vice-versa. You can read more from https://avro.apache.org/docs/1.7.7/gettingstartedjava.html#Serializing+and+deserializing+without+code+generation

like image 175
Vignesh I Avatar answered Mar 24 '26 23:03

Vignesh I



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!