How to rekey a stream with a value

Problem:

you have a Kafka topic and you want to change the key of the messages. It may be there is no key and you want to set one, or there is a key but you want to change it to a field from the record value.

Edit this page

Code example:

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