concept repartitione topic in category kafka

appears as: repartitioning topics, repartitioning topic
Kafka Streams in Action: Real-time apps and microservices with the Kafka Streams API

This is an excerpt from Manning's book Kafka Streams in Action: Real-time apps and microservices with the Kafka Streams API.

Creating repartitioning topics ahead of time

In Kafka Streams, any time you perform an operation that may potentially change the map key—transform or groupBy, for example—an internal flag is set in the StreamsBuilder class, indicating that repartitioning will be required. Now, performing a map or transform won’t automatically force the creation of a repartitioning topic and the repartitioning operation; but as soon as you add an operation using the updated key, a repartitioning operation will be triggered.