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

Matthias J. Sax updated KAFKA-13677:
------------------------------------
    Component/s: streams
                     (was: clients)

> version 3.0.0 Processor implementation uses parameter record (restricted 
> identifier)
> ------------------------------------------------------------------------------------
>
>                 Key: KAFKA-13677
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13677
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>    Affects Versions: 2.7.0, 3.0.0
>         Environment: JDK 11
>            Reporter: Aljoša Vrbanac
>            Priority: Minor
>
> Since 2.7.0 interface:
> {quote}org.apache.kafka.streams.processor.Processor<K, V>
> {quote}
> became depricated.
>  
> It was replaced with interface: 
> {quote}org.apache.kafka.streams.processor.api.Processor<KIn, VIn, KOut, VOut>
> {quote}
> which defines method:
> {quote}void process(Record<KIn, VIn> record);
> {quote}
>  
> There is a sonar lint rule _java:S6213:_
> _"Restricted Identifiers should not be used as Identifiers"_ for:
>  * var
>  * yield
>  * record <----
>  
> Maybe this parameter could be renamed into something else to avoid this 
> warning.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to