Overview
This operation will keep the listening stream open in the background. If a stream is opened on a directory, and that directory contains data, then the data will be loaded immediately when the stream is opened. Streams can be closed by using theSTOP_LISTEN operation. The status of an open stream
can be retrieved using the LIST_STATUS operation.
The START_LISTEN operation can act on any fetching Topic.
Request
Response
- Java
- JSON
How it works
File source types
For file source types, the DLC will register a file listener and start listening on the specified topics. When the file watcher is notified of file updates, the DLC listen operation will execute a DLCLOAD operation to load the files that have been updated.
This means that the listen operation will simply execute a LOAD operation on all file updates.