I'm planning of using kafka as a persistent log for event sourcing and I'm currently investigating different serialization options. My focus is currently on using thrift for the serialization and deserialization of messages that I will be storing in kafka.
When using thrift so serialize messages for kafka, the simplest approach appears to be to have a single thrift struct per kafka topic.
Question: Is this a good pattern to follow in practice? If not, can you please list the disadvantages of following this approach?
Note: If you think this question doesn't meet stackoverflow standards, please help me improve it!