JingsongLi opened a new pull request #12526:
URL: https://github.com/apache/flink/pull/12526
## What is the purpose of the change
The filesystem path modification time is the last modification time of all
files in directory.
If there is new data in partition all the time, it will never end.
We should use earlier time for committer.
## Brief change log
- Refactor `ProcTimeCommitTigger` to save the time when the partition just
entered. And use this time to commit instead of filesystem path modification
time.
- Use `FileSystemFactory` for better integration of external DFS.
## Verifying this change
Manually testing.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: no
- The serializers: no
- The runtime per-record code paths (performance sensitive): no
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
- The S3 file system connector: no
## Documentation
- Does this pull request introduce a new feature? no
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]