rj93-finseta opened a new issue, #662: URL: https://github.com/apache/mina-sshd/issues/662
Hi, I'm exploring using mina-sshd for an upcoming project. My use case is I need to download files from a 3rd party sFTP server, process them, and delete the file from the 3rd party. This project (with Spring Integration) seems to be a pretty good fit, however I am struggling to understand exactly how it works in the following scenarios (apologies if this is covered in the docs but I couldn't find it when I looked through them): Scenario 1: 1. The process to watch the sFTP is running and when new files are it emits the event and it is handled as expected 2. The process stops (for any reason) 3. A file is uploaded to a watched directory 4. The service restarts Would mina "know" that the file was uploaded, and emit the event? How does it track this information? Scenario 2: 1. The service that handles the mina-sshd process is horizontally scaled to 2 2. A new file is uploaded 3. Do both replicas track that this is a new file, and emit two events? I'm basically wondering if theres a store (either extensible to support a DB, or cloud object store as examples) to track these files as ultimately the service running the mina-sshd process is ephemeral (using k8s), and would be responsible to sync it a cloud object store for our records and further processing. Thanks for any pointers in the right direction. -- 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. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org