You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Brian Zhou (Jira)" <ji...@apache.org> on 2021/08/31 01:59:00 UTC
[jira] [Created] (FLINK-24059) SourceReaderTestBase should allow
NUM_SPLITS to be overridden in implementation
Brian Zhou created FLINK-24059:
----------------------------------
Summary: 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
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)