gunnarmorling / krpc-code-gen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

krpc-code-gen

What is it?

Apache Kafka® describes its wire format using message schemas in a custom JSON format. At compile time a code generator generates Java source for classes to represent the protocol messages, with methods to read/write to binary.

This project provides a similar code generation facility:

  • The schema model is mostly the same.
  • The generated code is defined in Apache FreeMarker™ templates, allowing you to generate any kind of code (your choice of language) from the messages schemas.
  • The code generation is packaged as a maven plugin for integration into your build process.

About

License:Apache License 2.0


Languages

Language:Java 84.2%Language:FreeMarker 15.8%