You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2021/02/09 00:44:25 UTC

[GitHub] [flink] Jason-liujc commented on pull request #5415: [FLINK-3655] [core] Support multiple paths in FileInputFormat

Jason-liujc commented on pull request #5415:
URL: https://github.com/apache/flink/pull/5415#issuecomment-775567716


   Yea I basically cloned the source code for `ContinuousFileMonitoringFunction` and added the reading from multiple directories capability to it. 
   
   I can't really share the source code right now as we need internal approval to do it. But basically, in the `run()` function, loop through each path and do `monitorDirAndForwardSplits()` on that given path. There's some kinks you might have to work out to get the checkpoint to work properly but that's the general idea. 


----------------------------------------------------------------
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:
users@infra.apache.org