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.
- Host: GitHub
- URL: https://github.com/thake/avro4k-compiler
- Owner: thake
- License: apache-2.0
- Created: 2020-02-21T14:42:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-16T05:07:36.000Z (about 3 years ago)
- Last Synced: 2023-07-26T22:09:35.296Z (almost 3 years ago)
- Language: Java
- Homepage:
- Size: 268 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
...
```