Comment on page
This example Data Stream demonstrates how to use the Listener to return business data from a MongoDB database.
Drag the MongoDB Listener onto the canvas and rename the Agent. Link the output endpoint to the printer and save the Data Stream.
Select the Agent and click Configure. In this case, keep the default Collection and polling interval.
Enter the Authentication details of the MongoDB database to which you want to connect: server, port number, and authentication type. In this case, leave the authentication type as Anonymous.
Select the database. In this case, appdb.
Select the table or collection. In this case, business.
Select the field to monitor. In this case, Certificate Number.
No limit, filter, or sort is applied in this example. Refer to the configuration for further details on these properties.
Apply the changes, save the Data Stream, and publish it.
Click the Live Data View button. Observe that all rows from the MongoDB table, the business certificates, are printed.