DEV Community 👩‍💻👨‍💻

Discussion on: A simpler approach to building event driven software using .NET Core and Kafka

Collapse
gabrielsadaka profile image
Gabriel Sadaka Author

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.