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
- kafka doesn't differentiate between encoding schemes since @ end every message flows in , out of kafka binary.
- 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
Post a Comment