-
Deprecated InterfacesInterfaceDescriptionIf you need to do non-keyed state snapshots of your operator, use
CheckpointedFunction. This should only be needed in rare cases, though.This interface will be removed in future versions. Use the newSinkinterface instead.This interface is based on theSourceFunctionAPI, which is due to be removed. Use the newSourceAPI instead.This interface will be removed in future versions. Use the newSourceinterface instead. NOTE: All sub-tasks from FLINK-28045 must be closed before this API can be completely removed.
-
Deprecated ClassesClassDescriptionInternal class for savepoint backwards compatibility. Don't use for other purposes.Internal class for savepoint backwards compatibility. Don't use for other purposes.This class is subsumed by
SubtaskMetricsHandlerand is only kept for backwards-compatibility.This should be removed once we can send arbitrary REST calls via the Yarn proxy.This should be removed once we can send arbitrary REST calls via the Yarn proxy.State backends should no longer implementCheckpointStoragefunctionality. Please inheritAbstractStateBackendinstead. Custom checkpoint storage can be additionally implemented as a separate class.The Queryable State feature is deprecated since Flink 1.18, and will be removed in a future Flink major version.Please use theStreamingFileSinkfor writing to files from a streaming program.This interface will be removed in future versions. Use the newPrintSinkinterface instead.This interface will be removed in future versions. Use the newSinkinterface instead.This interface will be removed in future versions. Use the newSinkinterface instead.This class is based on theSourceFunctionAPI, which is due to be removed. Use the newSourceAPI instead.Internal class deprecated in favour ofContinuousFileMonitoringFunction.Internal class deprecated in favour ofContinuousFileMonitoringFunction.This class is based on theSourceFunctionAPI, which is due to be removed. Use the newSourceAPI instead.This class is based on theSourceFunctionAPI, which is due to be removed. Use the newSourceAPI instead.This class is based on theSourceFunctionAPI, which is due to be removed. Use the newSourceAPI instead.This class is based on theSourceFunctionAPI, which is due to be removed. Use the newSourceAPI instead.This class is based on theSourceFunctionAPI, which is due to be removed. Use the newSourceAPI instead.This class is based on theSourceFunctionAPI, which is due to be removed. Use the newSourceAPI instead.This class is based on theSourceFunctionAPI, which is due to be removed. Use the newSourceAPI instead.This class is based on theSourceFunctionAPI, which is due to be removed. Use the newSourceAPI instead.Replaced byKeyedCoProcessOperatorwhich takesKeyedCoProcessFunctionReplaced byKeyedProcessOperatorwhich takesKeyedProcessFunctionThis class is based on theSourceFunctionAPI, which is due to be removed. Use the newSourceAPI instead.This class is based on theSourceFunctionAPI, which is due to be removed. Use the newSourceAPI instead.This class is based on theSourceFunctionAPI, which is due to be removed. Use the newSourceAPI instead.this class should only be used inSourceStreamTaskwhich exposes the checkpoint lock as part of Public API.
-
Deprecated EnumsEnumDescriptionThis class has been moved to
CheckpointingMode.
-
Deprecated MethodsMethodDescriptionThis method should only be used by the legacy code where the JobManager acts as the master.just use
HighAvailabilityServices.getClusterRestEndpointLeaderRetriever()instead of this method.Added because extended the actual releaseSlot method with cause parameter.Don't use this, overwrites record and causes inconsistency or data loss for overwriting everything but records of the exact same sizePlease use theorg.apache.flink.streaming.api.functions.sink.filesystem.legacy.StreamingFileSinkexplicitly using theDataStream.addSink(SinkFunction)method.The Queryable State feature is deprecated since Flink 1.18, and will be removed in a future Flink major version.The Queryable State feature is deprecated since Flink 1.18, and will be removed in a future Flink major version.The Queryable State feature is deprecated since Flink 1.18, and will be removed in a future Flink major version.UseCheckpointConfig.getCheckpointingConsistencyMode()instead.org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.addSource(SourceFunction<OUT>) This method relies on theSourceFunctionAPI, which is due to be removed. Use theStreamExecutionEnvironment.fromSource(Source, WatermarkStrategy, String)method based on the newSourceAPI instead.This method relies on theSourceFunctionAPI, which is due to be removed. Use theStreamExecutionEnvironment.fromSource(Source, WatermarkStrategy, String)method based on the newSourceAPI instead.This method relies on theSourceFunctionAPI, which is due to be removed. Use theStreamExecutionEnvironment.fromSource(Source, WatermarkStrategy, String, TypeInformation)method based on the newSourceAPI instead.This method relies on theSourceFunctionAPI, which is due to be removed. Use theStreamExecutionEnvironment.fromSource(Source, WatermarkStrategy, String, TypeInformation)method based on the newSourceAPI instead.This method will be removed a future release, possibly as early as version 2.0. UseStreamExecutionEnvironment.fromData(Collection)instead.This method will be removed a future release, possibly as early as version 2.0. UseStreamExecutionEnvironment.fromData(Collection, TypeInformation)instead.This method will be removed a future release, possibly as early as version 2.0. UseStreamExecutionEnvironment.fromData(Collection, TypeInformation)instead. For rate-limited data generation, useDataGeneratorSourcewithRateLimiterStrategy. If you need to use a fixed set of elements in such scenario, combine it withFromElementsGeneratorFunction.This method will be removed a future release, possibly as early as version 2.0. UseStreamExecutionEnvironment.fromData(Collection, TypeInformation)instead. For rate-limited data generation, useDataGeneratorSourcewithRateLimiterStrategy. If you need to use a fixed set of elements in such scenario, combine it withFromElementsGeneratorFunction.This method will be removed a future release, possibly as early as version 2.0. Use#fromData(OUT...)instead.This method will be removed a future release, possibly as early as version 2.0. Use#fromData(OUT...)instead.UseStreamExecutionEnvironment.fromSequence(long, long)instead to create a new data stream that containsNumberSequenceSource.UseFileSource#forRecordStreamFormat()/forBulkFileFormat()/forRecordFileFormat() instead. An example of reading a file using a simpleTextLineInputFormat:FileSource<String> source = FileSource.forRecordStreamFormat( new TextLineInputFormat(), new Path("/foo/bar")) .build();UseFileSource#forRecordStreamFormat()/forBulkFileFormat()/forRecordFileFormat() instead. An example of reading a file using a simpleTextLineInputFormat:FileSource<String> source = FileSource.forRecordStreamFormat( new TextLineInputFormat(), new Path("/foo/bar")) .monitorContinuously(Duration.of(10, SECONDS)) .build();UseFileInputFormat.setFilesFilter(FilePathFilter)to set a filter andStreamExecutionEnvironment.readFile(FileInputFormat, String, FileProcessingMode, long)UseFileSource#forRecordStreamFormat()/forBulkFileFormat()/forRecordFileFormat() instead. An example of reading a file using a simpleTextLineInputFormat:FileSource<String> source = FileSource.forRecordStreamFormat( new TextLineInputFormat(), new Path("/foo/bar")) .monitorContinuously(Duration.of(10, SECONDS)) .build();
-
Deprecated Constructors
-
Deprecated Enum ConstantsEnum ConstantDescriptionPlease use the "stop" command instead.
SourceFunctionAPI, which is due to be removed. Use the newSourceAPI instead.