How to split a stream of events into substreams

Question:

How do you split events in a Kafka topic so that the events are placed into subtopics?

Edit this page

Hands-on code example:

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