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

Deng Ziming commented on KAFKA-14306:
-------------------------------------

Hello, Kafka has it's own protocol design and, even though we drew lessens from 
pb design, it's different from pb or thrift. you can refer the idea here: 
https://kafka.apache.org/protocol.html#protocol_philosophy

> add uniform serializer and deserializer to the kafka protocol
> -------------------------------------------------------------
>
>                 Key: KAFKA-14306
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14306
>             Project: Kafka
>          Issue Type: New Feature
>          Components: clients, core, protocol
>            Reporter: maayan shani
>            Priority: Trivial
>
> recently I noticed every client (java, js, python ...) uses a different 
> serializer and deserializer,
> by adding the protocol buffer (.proto)  files to the Kafka project, and 
> describing the Kafka protocol, all clients and even the brokers can connect 
> with more ease.
> there will be less duplication of code,
> it will be easy to add client implementation fast the clients will be more 
> reliable and more up-to-date like the official Kafka protocol
>  
>  * protocol buffer is a uniformed way developed by google to describe 
> serializer and deserializer protocols
> related information: 
> the protobuf by google -
> https://developers.google.com/protocol-buffers
> for example, pulsar added protobuf files to the project 
> pulsar protocol buffer -  
> [https://github.com/apache/pulsar/blob/master/pulsar-common/src/main/proto/PulsarApi.proto]
> [https://pulsar.apache.org/docs/developing-binary-protocol]
> pulsar node js client -
> [https://github.com/ayeo-flex-org/pulsar-flex]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to