2
Home
gitea_admin edited this page 2026-10-12 05:33:04 +00:00
Table of Contents
MongoDB Source
Consume data from MongoDB.
Metadata
| Property | Value |
|---|---|
| Type | source |
| Group | MongoDB |
| Namespace | Nosql |
| Support Level | Stable |
| Provider | Apache Software Foundation |
Properties
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
hosts |
string | ✓ | A comma-separated list of MongoDB host addresses in host:port format. |
|
collection |
string | ✓ | The name of the MongoDB collection to bind to this endpoint. | |
password |
string | The user password for accessing MongoDB. | ||
username |
string | The username for accessing MongoDB. The username must be present in the MongoDB's authentication database (authenticationDatabase). By default, the MongoDB authenticationDatabase is 'admin'. |
||
ssl |
boolean | true |
whether to enable ssl connection to mongodb | |
sslValidationEnabled |
boolean | true |
IMPORTANT this should be disabled only in test environment since can pose security issues. | |
database |
string | ✓ | The name of the MongoDB database. | |
persistentTailTracking |
boolean | false |
Specifies to enable persistent tail tracking, which is a mechanism to keep track of the last consumed data across system restarts. The next time the system is up, the endpoint recovers the cursor from the point where it last stopped consuimg data. This option will only work on capped collections. | |
tailTrackIncreasingField |
string | The correlation field in the incoming data which is of increasing nature and is used to position the tailing cursor every time it is generated. |
Dependencies
camel:kameletcamel:mongodbcamel:jackson