avro-kotlin / avro4k

Avro format support for Kotlin
Apache License 2.0
188 stars 36 forks source link

Generate avro schema files from kotlin code #213

Open Chuckame opened 1 month ago

Chuckame commented 1 month ago

the need

Keep updated the schema files easily with a single gradle command, corresponding to a custom configured Avro instance. This allows to share the schema in the git repo, trigger some CI stuff, or even more.

how / questions

This would create a plug-in to generate avro schema files.

The main challenge is to use a configured instance of Avro to get the custom logical types.

The other challenge is to select which classes are about to be generated.