You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Nicholas Jiang (Jira)" <ji...@apache.org> on 2020/10/03 00:19:00 UTC

[jira] [Updated] (FLINK-19494) Adjust "StreamExecutionEnvironment.generateSequence()" to new API Sources

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

Nicholas Jiang updated FLINK-19494:
-----------------------------------
    Description: 
The utility method {{StreamExecutionEnvironment.generateSequence(()}} should instantiate the new {{NumberSequenceSource}} rather than the existing {{StatefulSequenceSource}}.

We should also deprecate the {{StatefulSequenceSource}} as part of this change, because
  - it is based on the legacy source API
  - it is not scalable, because it materializes the sequence


  was:
The utility method {{StreamExecutionEnvironmant.generateSequence(()}} should instantiate the new {{NumberSequenceSource}} rather than the existing {{StatefulSequenceSource}}.

We should also deprecate the {{StatefulSequenceSource}} as part of this change, because
  - it is based on the legacy source API
  - it is not scalable, because it materializes the sequence



> Adjust "StreamExecutionEnvironment.generateSequence()" to new API Sources
> -------------------------------------------------------------------------
>
>                 Key: FLINK-19494
>                 URL: https://issues.apache.org/jira/browse/FLINK-19494
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / DataStream
>            Reporter: Stephan Ewen
>            Priority: Major
>             Fix For: 1.12.0
>
>
> The utility method {{StreamExecutionEnvironment.generateSequence(()}} should instantiate the new {{NumberSequenceSource}} rather than the existing {{StatefulSequenceSource}}.
> We should also deprecate the {{StatefulSequenceSource}} as part of this change, because
>   - it is based on the legacy source API
>   - it is not scalable, because it materializes the sequence



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