This will be needed to produce the page state change stream (T308017) in proper Kafka partitions keyed by wiki_db,page_id.
Kafka partitioning could be handled by modifying eventgate-wikimedia's Kafka produce function.
Specifying the key could be done either by
A. Augmenting the EventGate API to allow for providing the key directly
B. Using stream config to to set the fields in the value that should be used for the key.