Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • Runtime / Task
    • None

    Description

      The interface:

      /**
       * 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);
      }
      

      Currently, only supports fileCreated. It can be set to Buckets like BucketLifeCycleListener

      FLINK-19345 depends on this to compact files in downstream operator

      Attachments

        Issue Links

          Activity

            People

              lzljs3620320 Jingsong Lee
              lzljs3620320 Jingsong Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: