[
https://issues.apache.org/jira/browse/FLINK-41407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn Visser updated FLINK-41407:
-----------------------------------
Fix Version/s: 2.4.1
2.2.3
2.3.2
> Fix code examples in the documentation that don't work on master
> ----------------------------------------------------------------
>
> Key: FLINK-41407
> URL: https://issues.apache.org/jira/browse/FLINK-41407
> Project: Flink
> Issue Type: Technical Debt
> Components: Documentation
> Affects Versions: 2.5.0
> Reporter: Martijn Visser
> Assignee: Martijn Visser
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.4.1, 2.5.0, 2.2.3, 2.3.2
>
>
> I compiled every Java code example in docs/content against master. 27 of them
> don't compile: most use APIs that were removed (DataSet, string keys and
> expressions, Time, addDefaultKryoSerializer, OptionsFactory, the old client
> API), the rest have wrong signatures or typos. The
> FixedSizeSplitFetcherManager example in the sources internals page misses
> removeSplits(), which became abstract with FLINK-25509; FLINK-36745 fixed the
> constructor in the same example but not this. Many examples also still use
> deprecated APIs, such as fromElements, SinkFunction, SourceFunction,
> typedArguments and registerCatalog, and 29 Scala examples use the Scala
> DataStream API that was removed in 2.0. The cache() example is tracked in
> FLINK-30097.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)