Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-404

Support "mixin properties" for specific codegen

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • java, spec
    • None

    Description

      As we add more features for RPC and the specific codegen, there are some codegen options that should be provided as annotations on schema fields. For example, some users may want to turn binary fields into byte[], and other people may prefer ByteBuffer. Since these are codegen-scoped and not data-scoped, it would be nice to allow the properties to be "mixed in" at codegen time. By moving them out of the main schema definition, different users of the same Avro protocol could make different choices for the codegen in their specific applications.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: