lucliu1108 commented on code in PR #20968:
URL: https://github.com/apache/kafka/pull/20968#discussion_r3230440113


##########
streams/src/main/java/org/apache/kafka/streams/kstream/internals/graph/ProcessorParameters.java:
##########
@@ -58,6 +58,11 @@ public ProcessorParameters(final 
FixedKeyProcessorSupplier<KIn, VIn, VOut> proce
     public ProcessorSupplier<KIn, VIn, KOut, VOut> processorSupplier() {
         return processorSupplier;
     }
+    
+    public ProcessorSupplier<KIn, VIn, KOut, VOut> 
wrappedProcessSupplier(final InternalTopologyBuilder topologyBuilder) {
+        ApiUtils.checkSupplier(processorSupplier);
+        return topologyBuilder.wrapProcessorSupplier(processorName, 
processorSupplier);
+    }
 

Review Comment:
   Make sense to me! I agree this cleanup is beyond the scope of this ticket. 
We can leave it for now.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to