Thanks! I explored that when I was building the sample, from memory it will work with the confluent protobuf library but the interface used for messages will be a challenge. You could use an abstract base class instead or use runtime binding to detect the header object. I can't remember if there was a way to generate the message classes with an interface that all of them implemented.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks! I explored that when I was building the sample, from memory it will work with the confluent protobuf library but the interface used for messages will be a challenge. You could use an abstract base class instead or use runtime binding to detect the header object. I can't remember if there was a way to generate the message classes with an interface that all of them implemented.