calmera commented on code in PR #12742: URL: https://github.com/apache/kafka/pull/12742#discussion_r1063273259
########## streams/src/test/java/org/apache/kafka/test/MockProcessor.java: ########## @@ -28,9 +29,11 @@ import java.util.List; import java.util.Map; -@SuppressWarnings("deprecation") // Old PAPI. Needs to be migrated. -public class MockProcessor<K, V> extends org.apache.kafka.streams.processor.AbstractProcessor<K, V> { - private final MockApiProcessor<K, V, Object, Object> delegate; +public class MockProcessor<KIn, VIn, KOut, VOut> implements Processor<KIn, VIn, KOut, VOut> { + private final MockApiProcessor<KIn, VIn, KOut, VOut> delegate; + + private ProcessorContext<KOut, VOut> context; Review Comment: I didn't look at the MockApiProcessor internals, but you are right, I can use the context from the delegate instead of tracking the context myself. -- 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