MongoDB listener endpoint
The MongoDB listener endpoint enables you to invoke code when a MongoDB database is changed. It is useful for creating
integrations that require persistence and real-time data.
|The name of the endpoint.
|The service to execute when the endpoint is triggered.
|The user to run the service in behalf of. This is logged to Tracker.
|<Name of endpoint type>
|The document type to be used when adding documents to Tracker as this endpoint is triggered.
|Whether or not to automatically start the endpoint upon package startup.
|Log To Tracker
|Flag determining whether executions should be logged to Tracker.
|If this endpoint is configured on a Martini instance that's running in a cluster, replicated will determine whether to run the endpoint on all instances, or only the elected leader node in the cluster. When this is checked, all instances will run the endpoint. When it's unchecked, only the leader node will run the endpoint.
MongoDB listener-specific configuration
|Name of the MongoDB database connection.
|Name of the MongoDB database to watch for changes.
|Name of the database collection to watch for changes. If no value is specified or this field's value is
<none\>, all non-system collections are watched.
|Full Document Lookup
|Determines the data to return for update operations.
|Whether the endpoint should be stopped or not when invalidation event occurs (e.g. watched database or collection is dropped).
|The aggregation pipeline to apply to the listener's change stream. Each pipeline should follow the MongoDB extended JSON format.
When the endpoint is triggered, the following variables are exposed to the configured
|The Tracker document internal ID. If the endpoint was configured to not track, this value will be
|The Tracker object. If the endpoint was configured to not track, this value will be
|The Martini package that contains the endpoint.
|A map containing all the endpoint specific parameters.
|A map containing containing all the properties associated with the endpoint.
MongoDB listener-specific parameters