Question

3
Replies
1242
Views
ManindraReddy Member since 2015 17 posts
Tata Consultancy Services
Posted: 3 years ago
Last activity: 3 years 2 months ago
Closed

When Moving a larger data file to file listener path while copying is in progress the file listener picks up the file and try to process it which is not fully copied.

File Listener picks up a JSON file from a specific path.

When the user tries to place a file with large data containing 40K records, the file listener picks up the file even before the copying is complete,

Resulting in invalid JSON provided for processing which fails later and failed copying file popup at the folder.

Is it possible design so that file listener picks the file only after the copying is complete?

Or is there any other alternative solution/Hot Fix for this problem?

It would be helpful if someone who faced this kind of issue can share their inputs.

Thanks in Advance,

Manindra

DevOps
Moderation Team has archived post
Share this page LinkedIn