agavra commented on code in PR #17892: URL: https://github.com/apache/kafka/pull/17892#discussion_r1857181597
########## streams/src/main/java/org/apache/kafka/streams/processor/internals/InternalTopologyBuilder.java: ########## @@ -2245,4 +2272,22 @@ public boolean hasNamedTopology() { public synchronized Map<String, StoreFactory> stateStores() { return stateFactories; } + + public <KIn, VIn, VOut> WrappedFixedKeyProcessorSupplier<KIn, VIn, VOut> wrapFixedKeyProcessorSupplier( + final String name, + final FixedKeyProcessorSupplier<KIn, VIn, VOut> processorSupplier + ) { + return ProcessorWrapper.asWrappedFixedKey( + processorWrapper.wrapFixedKeyProcessorSupplier(name, processorSupplier) Review Comment: +1 to Rohan's question, I don't think we need to do this here since the `WrappedProcessorSupplier` already returns the right type. Just on the naming discussion, though, I think `markWrapped` could be a good name for the static method. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org