I have a flow, the first processor is GetFile which reads from a source dir and runs every [x] secs or minutes. If I would copy a file in the source dir and GetFile starts to read the file at that moment in time, would I get partial data over the wire ?
答案 0 :(得分:8)
是的,这可能发生。一个常见的模式是将文件复制到源目录中,前面有一个点,以便它首先从GetFile中排除,然后一旦文件完成,就可以重命名,然后GetFile将获取整个文件。 / p>