An open API service indexing awesome lists of open source software.

https://github.com/thake/avro4k-compiler

Generates avro4k compatible kotlin source code from avro schema definitions.
https://github.com/thake/avro4k-compiler

Last synced: 12 months ago
JSON representation

Generates avro4k compatible kotlin source code from avro schema definitions.

Awesome Lists containing this project

README

          

# Avro compiler for avro4k
[](https://search.maven.org/search?q=g:com.github.thake.avro4k)

This is a generator for avro4k compatible kotlin source files. The generator is based on
the avro java compiler.

Unsupported features:
- Protocol generation
- Union types other than a Union with null

Additional features:
- Kotlin data classes may have a different name than avro records.

Compatibility:
- < 0.5.0 Avro4k 0.41.0
- 0.5.0 Avro4k 1.0.0 (package names have changed)

## Maven plugin usage:
```xml



com.github.thake.avro4k
avro4k-maven-plugin
0.5.0

${avro.schema.directory}
${project.build.directory}/generated-sources


my.namespace.(\w+)Record
other.namespace.$1




...

```