Components > File listeners > File listeners in file ingestion and replication tasks
  

File listeners in file ingestion and replication tasks

You can use a file listener as a source and to schedule file monitors in file ingestion and replication tasks.
In file ingestion and replication tasks with the following source types, you can schedule the task to run when it receives notifications from a file listener:
Note: For more information on configuring a file ingestion task, see the Data Ingestion and Replication help.

File event reliability

When you use a file listener as a source in a file ingestion and replication task, it creates a file event based on the file listener configuration when new files arrive, when the existing files are updated, or when the files are deleted. The file events are passed to the file ingestion and replication task. This section explains the reliability aspects of handling these file events between a file listener and a file ingestion and replication task.
The file listener handles the events based on the following conditions:
Example 1. Example
A file listener is a source in a file ingestion and replication task with 15 file events to transfer to a target. The batch size is five. When the file ingestion and replication task is triggered and complete, the file events are in the following status:
The file ingestion and replication task automatically retries to process the five failed and unprocessed events once. When the file ingestion and replication task is complete, the file events are in the following status:
The file ingestion and replication task automatically retries to process the five failed events once. When the file ingestion and replication task is complete, the five events in the second batch (file 11 to 15) fails.
You can manually run the file ingestion and replication task to pull the pending five events. If you don't run the file ingestion and replication task manually, the file listener would include the failed events in the notification of the next file ingestion and replication job.

File listener job resiliency

When you run a file listener, a corresponding job is created.
The file listener job handles the Secure Agent availability based on the following conditions: