Skip to content

Commit

Permalink
[FLINK-28046][connectors] Mark SourceFunction interface as @deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
afedulov authored and reswqa committed Jun 30, 2023
1 parent 1ef9973 commit 07bf511
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -94,7 +94,11 @@
* SourceContext#emitWatermark(Watermark)}.
*
* @param <T> The type of the elements produced by this source.
* @deprecated This interface will be removed in future versions. Use the new {@link
* org.apache.flink.api.connector.source.Source} interface instead. NOTE: All sub-tasks from
* FLINK-28045 must be closed before this API can be completely removed.
*/
@Deprecated
@Public
public interface SourceFunction<T> extends Function, Serializable {

Expand Down

0 comments on commit 07bf511

Please sign in to comment.