MongoDB Reader

This task is used to read data from MongoDB collection.

Configuring the Meta Information tab fields

Drag the MongoDB reader task to the Workspace and click on it to open the related configuration tabs for the same. The Meta Information tab opens by default.

  • Connection Type: Select the connection type from the drop-down:

    • Standard

    • SRV

    • Connection String

  • Port (*): Provide the Port number (It appears only with the Standard connection type).

  • Host IP Address (*): The IP address of the host.

  • Username (*): Provide a username.

  • Password (*): Provide a valid password to access the MongoDB.

  • Database Name (*): Provide the name of the database where you wish to write data.

  • Additional Parameters: Provide details of the additional parameters.

  • Cluster Shared: Enable this option to horizontally partition data across multiple servers.

  • Schema File Name: Upload Spark Schema file in JSON format.

  • Query: Please provide Mongo Aggregation query in this field.

Please Note: Please click the Save Task In Storage icon to save the configuration for the dragged reader task.