You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Christo Lolov (Jira)" <ji...@apache.org> on 2021/08/14 06:37:00 UTC

[jira] [Comment Edited] (KAFKA-12994) Migrate all Tests to New API and Remove Suppression for Deprecation Warnings related to KIP-633

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

Christo Lolov edited comment on KAFKA-12994 at 8/14/21, 6:36 AM:
-----------------------------------------------------------------

Hello, I believe I managed to get some of the tests changed and am happy to pair on this issue with [~officialandyp] :). I have created a sample pull request for preliminary comments at https://github.com/apache/kafka/pull/11214


was (Author: christo_lolov):
Hello, I believe I managed to get some of the tests changed and am happy to pair on this issue with [~officialandyp] :)

> Migrate all Tests to New API and Remove Suppression for Deprecation Warnings related to KIP-633
> -----------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-12994
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12994
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams, unit tests
>    Affects Versions: 3.0.0
>            Reporter: Israel Ekpo
>            Priority: Major
>              Labels: kip-633, newbie, newbie++
>             Fix For: 3.1.0
>
>
> Due to the API changes for KIP-633 a lot of deprecation warnings have been generated in tests that are using the old deprecated APIs. There are a lot of tests using the deprecated methods. We should absolutely migrate them all to the new APIs and then get rid of all the applicable annotations for suppressing the deprecation warnings.
> The applies to all Java and Scala examples and tests using the deprecated APIs in the JoinWindows, SessionWindows, TimeWindows and SlidingWindows classes.
>  
> This is based on the feedback from reviewers in this PR
>  
> https://github.com/apache/kafka/pull/10926



--
This message was sent by Atlassian Jira
(v8.3.4#803005)