Description
TopologyBuilderException is a pre-runtime exception that should only be thrown beforeĀ KafkaStreams#start() is called.
However, we do throw TopologyBuilderException within
- `SourceNodeFactory#getTopics`
- `ProcessorContextImpl#getStateStore`
- `StreamPartitionAssignor#prepareTopic `
(and maybe somewhere else: we should double check if there are other places in the code like those).
We should replace those exception with either StreamsException or with a new exception type.