You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2024/07/11 16:23:00 UTC

[jira] [Updated] (KAFKA-9738) Add Generics Type Parameters to forwarded() in MockProcessorContext

     [ https://issues.apache.org/jira/browse/KAFKA-9738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias J. Sax updated KAFKA-9738:
-----------------------------------
    Description: 
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.

KIP-1070: [https://cwiki.apache.org/confluence/display/KAFKA/KIP-1070%3A+deprecate+MockProcessorContext] 

  was: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.


> 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
>            Assignee: Matthias J. Sax
>            Priority: Minor
>              Labels: kip
>
> 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.
> KIP-1070: [https://cwiki.apache.org/confluence/display/KAFKA/KIP-1070%3A+deprecate+MockProcessorContext] 



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