Consume and Produce to different topics

9 views
Skip to first unread message

Itamar Yarden

unread,
Sep 14, 2022, 3:07:48 AMSep 14
to Protocol Buffers
Hello,
I am currently working on a project where I need to connect multipile micro-services with kafka and to serializer/deserialize messages with protobufers,

I am currently trying to figure out how to read data 
with consumer from topic with schema A
and then process it and produce the procced data to topic with schema B.

Let's say I have service MyService and it consumes from topic A with schema A_Schema

message A_Schema {
  blah blah = 1;
  blah blah = 2;
  ........
}
 after processing the message from topic A, MyService needs to produce the data to topic B with schema B_Schema

message B_Schema {
  different_blah different_blah = 1;
  different_blah different_blah = 2;
  ........
}


The services are written with python and use python package "protobuf".






Derek Perez

unread,
Sep 14, 2022, 3:28:18 AMSep 14
to Itamar Yarden, Protocol Buffers
Hello,

I think you’ll wanna ask the Kafka community for advice on this. Protobuf is merely the data format in use it sounds like and has little to do with micro service design. 

Good luck!
- Derek 

--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/aa791ff0-458f-4674-8642-f7aa4fc89a56n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages