You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jiangjie Qin (Jira)" <ji...@apache.org> on 2021/09/15 12:44:00 UTC

[jira] [Resolved] (FLINK-24059) SourceReaderTestBase should allow NUM_SPLITS to be overridden in implementation

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

Jiangjie Qin resolved FLINK-24059.
----------------------------------
    Resolution: Fixed

Merged to master: d4c483fadd3df32045fbb2ee117d0a6eeab9276e

Cherry-picked to release-1.14: 8d148a8b7832fcefefa4818de8e700562f0ffd26

> SourceReaderTestBase should allow NUM_SPLITS to be overridden in implementation
> -------------------------------------------------------------------------------
>
>                 Key: FLINK-24059
>                 URL: https://issues.apache.org/jira/browse/FLINK-24059
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Common
>    Affects Versions: 1.13.2
>            Reporter: Brian Zhou
>            Assignee: Brian Zhou
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.14.0
>
>
> Pravega Flink connector is trying to implement the FLIP-27 sources and trying to map the Pravega reader into the split. This leads to a one-to-one mapping for source reader and splits. For unit tests, Flink has offered the {{SourceReaderTestBase}} class to test more easily, but it has a {{final}} constraint in the NUM_SPLITS constant which the value is 10, which makes us hard to integrate.



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