Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-7830

Convert Kafka RPCs to use automatically generated code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • None
    • clients, core
    • None

    Description

      KAFKA-7609 added a way of automatically generating code for reading and writing Kafka RPC message types from JSON schemas.

      Automatically generated code is preferrable to manually written serialization code.

      • * It is less tedious and error-prone to use than hand-written code.
      • For developers writing Kafka clients in other languages, the JSON schemas are useful in a way that the java serialization code is not.
      • It will eventually be possible to automatically validate aspects of cross-version compatibility, when using JSON message schemas.
      • Once all of the RPCs are converted, we can drop using Structs in favor of serializing directly to ByteBuffer, to reduce GC load.

      This JIRA tracks converting the current hand-written message serialization code to automatically generated serialization.

      Attachments

        Activity

          People

            cmccabe Colin McCabe
            cmccabe Colin McCabe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: