Description
StatefulProcessorNode tries to "connectProcessorAndStateStores" before "addStateStore" is called on the state store. This throws an exception. Current implementations of Kafka Streams do not appear to test for this, nor do any of the kafka streams applications use it. Discovered while looking to use the node for another ticket.
Results in "org.apache.kafka.streams.errors.TopologyException: Invalid topology: StateStore <statestore-name> is not added yet."