Reads each message from a Kafka topic called input-messages
Validates each message, sending any invalid event to a specific Kafka topic called invalid-messages
Writes the correct messages in a Kafka topic called valid-messages
https://learning.oreilly.com/library/view/kafka-the-definitive/9781491936153/ch04.html