How to filter a stream of events

Question:

How do I filter messages in a Kafka topic to contain only those that I'm interested in?

Edit this page

Code example:

A tutorial for this doesn't exist yet, but it could...
Help build it!