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

[jira] [Assigned] (FLINK-19356) Introduce FileLifeCycleListener to Buckets

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

Jingsong Lee reassigned FLINK-19356:
------------------------------------

    Assignee: Jingsong Lee

> Introduce FileLifeCycleListener to Buckets
> ------------------------------------------
>
>                 Key: FLINK-19356
>                 URL: https://issues.apache.org/jira/browse/FLINK-19356
>             Project: Flink
>          Issue Type: New Feature
>          Components: Runtime / Task
>            Reporter: Jingsong Lee
>            Assignee: Jingsong Lee
>            Priority: Major
>             Fix For: 1.12.0
>
>
> The interface:
> {code:java}
> /**
>  * Listener about the status of file.
>  */
> @Internal
> public interface FileLifeCycleListener<IN, BucketID> {
> /**
>  * Notifies a new file has been opened.
>  *
>  * <p>Note that this does not mean that the file has been created in the file system. It is
>  * only created logically and the actual file will be generated after it is committed.
>  *
>  * @param bucket The bucket of newly opened file.
>  * @param newPath The path of newly opened file.
>  */
> void openPartFile(Bucket<IN, BucketID> bucket, Path newPath);
> }
> {code}
> Currently, only supports fileCreated. It can be set to Buckets like {{BucketLifeCycleListener}}
> FLINK-19345 depends on this to compact files in downstream operator



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