[ 
https://issues.apache.org/jira/browse/KAFKA-7609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681547#comment-16681547
 ] 

Ismael Juma commented on KAFKA-7609:
------------------------------------

Nice to see this. By the way, there was a JIRA for it: KAFKA-5255. I'll close 
it as a duplicate of this one.

> Add Protocol Generator for Kafka
> --------------------------------
>
>                 Key: KAFKA-7609
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7609
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Colin P. McCabe
>            Assignee: Colin P. McCabe
>            Priority: Major
>
> Rather than hand-writing the code for sending and receiving all the different 
> versions of the Kafka RPC protocol, we should have a protocol generator which 
> can generate this code from an interface definition language (IDL).
> This will make it less labor-intensive and error-prone to add new message 
> types and versions.  It will also make it easier to support these new RPC 
> changes in clients such as librdkafka.
> Eventually, we should be able to get rid of the Struct classes and serialize 
> messages directly to byte buffers.  This will greatly reduce the garbage 
> collection overhead of the network stack, especially when handling large 
> messages.
> Furthermore, having a formal definition for the Kafka protocol may eventually 
> allow us to expose other transports such as REST without writing lots of glue 
> code to translate back and forth.



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

Reply via email to