Hi Frank, It doesn't make a lot of sense to create repartition topics for single partition input topics. However the way it currently works we don't have the partition information at hand when making the decision that we need to repartition. It is purely based on the key potentially changing. The partition information comes much later, i.e., once the topology has been built and `start` has been called.
It might be a worth while optimization, but i guess it depends on how common it is for people to run with only a single partition. Thanks, Damian On Mon, 15 May 2017 at 10:14 Frank Lyaruu <flya...@gmail.com> wrote: > Hi, > > I'm using quite a lot of topics, and the speed on each topic isn't extreme, > so I generally use a single partition. > In this situation, the high level API of Kafka Streams still makes > repartition topics, but I don't see there use. > > Wouldn't it make sense to skip repartition topics in this case, or am I > missing something? > > regards, Frank >