You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Boyang Chen (JIRA)" <ji...@apache.org> on 2019/05/08 23:05:00 UTC

[jira] [Reopened] (KAFKA-7830) Convert Kafka RPCs to use automatically generated code

     [ https://issues.apache.org/jira/browse/KAFKA-7830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boyang Chen reopened KAFKA-7830:
--------------------------------

> Convert Kafka RPCs to use automatically generated code
> ------------------------------------------------------
>
>                 Key: KAFKA-7830
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7830
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients, core
>            Reporter: Colin P. McCabe
>            Assignee: Colin P. McCabe
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)