You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "maayan shani (Jira)" <ji...@apache.org> on 2022/10/15 16:45:00 UTC

[jira] [Created] (KAFKA-14306) add uniform serializer and deserializer to the kafka protocol

maayan shani created KAFKA-14306:
------------------------------------

             Summary: 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


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)