Procedure
-
Double-click tMongoDBGridFSList to open its
Component view.
- Select the Use existing connection check box and from the Connection list, select the component in which the MongoDB connection to be used is defined.
- In the Bucket field, enter the bucket in which the files to be listed are stored. In this example, it is talend_channel/61.
-
In the Query field, enter the query to select
the files you want tMongoDBGridFSList to
iterate on to generate different file lists. In this example, leave the default
one in order to iterate on all of the files stored in this talend_channel/61 bucket.
As explained previously, only one file, custom_hadoop.mp4, is expected.