avro-kotlin / avro4k

Avro format support for Kotlin
Apache License 2.0
198 stars 37 forks source link

Generate avro schema files from kotlin code #213

Open Chuckame opened 6 months ago

Chuckame commented 6 months 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.