I agree having two separate constructors clears usage of `StatefulProcessorNode` up.
Maybe we could add some Javadoc comments that the constructor taking the `StateStore` parameter is for stateful operations that create a state store. And the constructor taking `storeNames` is for stateful DSL methods `process`, `transform` and the other transform variants where the state store is already created (with a `StreamsBuilder.addStateStore` call) , and we pass in the names so the `Processor` can access the stores. [ Full content available at: https://github.com/apache/kafka/pull/5740 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org