The tap-mongodb Singer tap pulls data from MongoDB that can then be sent to a destination using a Singer target.

Alternative variants #

Multiple variants of tap-mongodb are available. This document describes the default singer-io variant, which is recommended for new users.

Alternative variants are:

Standalone usage #

Install the package using pip:

pip install tap-mongodb

For additional instructions, refer to the README in the repository.

Usage with Meltano #

Meltano helps you manage your configuration, incremental replication, and scheduled pipelines.

View the Meltano-specific tap-mongodb instructions to learn more.

Capabilities #

These capabilities can also be overriden by specifying the capabilities key in your meltano.yml file.

Settings #

tap-mongodb requires the configuration of the following settings:

The settings for tap tap-mongodb that are known to Meltano are documented below. To quickly find the setting you're looking for, use the Table of Contents at the top of the page.

You can override these settings or specify additional ones in your meltano.yml by adding the settings key. Please consider adding any settings you have defined locally to this definition on MeltanoHub by making a pull request to the YAML file that defines the settings for this tap.

Host URL (host) #

  • Default: localhost

The MongoDB host URL.

Port (port) #

  • Default: 27017

The MongoDB port.

User (user) #

The MongoDB user.

Password (password) #

The MongoDB password.

Database Name (database) #

This is the database used for authentication, not the database used for extraction. The data extracted is determined by following the selecting entities and attributes instructions.

Replica Set (replica_set) #

The name of the replica set.

SSL (ssl) #

  • Default: false

Whether to use SSL connection or not.

Verify Mode (verify_mode) #

  • Default: true

SSL Verify Mode

Include Schemas In Destination Stream Name (include_schemas_in_destination_stream_name) #

  • Default: false

Forces the stream names to take the form <database_name>_<collection_name> instead of <collection_name>

Looking for help? #

If you're having trouble getting the tap-mongodb tap to work, look for an existing issue in its repository, file a new issue, or join the Meltano Slack community and ask for help in the #plugins-general channel.

Found an issue on this page? #

This page is generated from a YAML file that you can contribute changes to. Edit it on GitHub!