protobuf within avro encoded message on kafka -


wanted know if there better way solve problem having. here flow:

our client code understands protocol buffers (protobuf). on server side, our gateway gets protobuf , puts onto kafka.

now avrò recommended encoding scheme, put specific protobuf within avro (as byte array) , put onto message bus. reason avoid having entire protobuf->avro conversion.

on consumer side, reads avro message, gets protobuf out of , works on that.

how reliable protobuf kafka? there lot of people using it? advantages/disadvantages of using kafka protobuf?

is there better way handle our use case/scenario?

thanks

  1. kafka doesn't differentiate between encoding schemes since @ end every message flows in , out of kafka binary.
  2. both proto-buff , avro binary based encoding schemes, why want wrap proto-buff inside avro schema, when can directly put proto-buff message kafka?

Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -