Hi Rohit,

Use avro. Please refer the link
<https://www.confluent.io/blog/avro-kafka-data/> .





On Fri, Feb 8, 2019 at 11:14 AM Rohit Sharma
<rohit_r_sha...@yahoo.com.invalid> wrote:

> Hi,
> what is the best message format to use with apachhe kafka so that
> producers and consumers can define contract and validate data and
> serialize/deserialize data? for example in xml we have xsd. but in json
> there is no universal schema.. i read about using apache avro but not sure
> how fast will it be as i can't afford more then 5 to 6 ms for schema
> validation and deserialisation? any inputs please? We will be processing
> thousands of transactions per second and SLA for each transaction is 150ms
> so i am looking for something that's very fast.
> Regards,Rohit
>
> Sent from Yahoo7 Mail on Android

Reply via email to