[ 
https://issues.apache.org/jira/browse/KAFKA-9738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17865145#comment-17865145
 ] 

Matthias J. Sax commented on KAFKA-9738:
----------------------------------------

Given that `Processor` is deprecated already, we should deprecate 
`MockProcessorContext`, too.

Let's maybe use this ticket. I'll write a quick KIP for it.

> Add Generics Type Parameters to forwarded() in MockProcessorContext 
> --------------------------------------------------------------------
>
>                 Key: KAFKA-9738
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9738
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>    Affects Versions: 2.5.0
>            Reporter: Bruno Cadonna
>            Priority: Minor
>
> The method {{forwarded()}} to capture the forwarded records in 
> {{MockProcessorContext}} does not have any type parameters although the 
> corresponding {{forward()}} does have them. To enable type checking at 
> compile time in tests, generics parameters shall be added to the 
> {{forwarded()}} method.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to