How to extend Avro-generated classes for Kafka
I’m using the Avro Maven Plugin to generate Avro classes so that I can process records from Kafka, and am wondering whether there is any way to extend these classes so that I can define some additional methods?
If this isn’t a common approach, what should I do instead?