TransUnion interview question

How do you implement custom serialisers in Apache Kafka?