MongoDBReader properties
The MongoDB driver is bundled with Striim, so no installation is necessary.
The adapter properties are:
property | type | default value | notes |
---|---|---|---|
authDB | String | admin | Specify the authentication database for the specified username. If not specified, uses the |
authType | enum | Default | Specify the authentication mechanism used by your MongoDB instance. The default setting uses MongoDB's default authentication mechanism, SCRAM. Other supported choices are GSSAPI, MONGODBCR, MONGODBX509, and SCRAMSHA1. Set to NoAuth if authentication is not enabled. Set to GSSAPI if you are using Kerberos. |
Collections | String | The fully-qualified name(s) of the MongoDB collection(s) to read from, for example, mydb.mycollection. Separate multiple collections by commas. You may use the $ wildcard, for example, mydb.$ or mydb.a$. Note that data will be read only from collections that exist when the Striim application starts, additional collections added later will be ignored until the application is restarted. | |
Connection Retry Policy | String | retryInterval=60, maxRetries=3 | With the default setting, if a connection attempt is unsuccessful, the adapter will try again in 30 seconds ( |
Connection URL | String | When Mode is InitialLoad
When Mode is Incremental
| |
Exclude Collections | String | Any collections to be excluded from the set specified in the Collections property. Specify as for the Collections property. | |
Mode | String | InitialLoad | With the default setting, will load all existing data using Set to |
Password | encrypted password | The password for the specified Username. | |
Quiesce on IL Completion | Boolean | False | |
Read Preference | String | primaryPreferred | See Read Preference Modes. Supported values are primary, primaryPreferred, secondary, secondaryPreferred, and nearest. |
Security Config | String | ||
SSL Enabled | Boolean | False | If MongoDB requires SSL or individual MongoDB nodes are specified in the Connection URL, set to True (see Configure mongod and mongos for TLS/SSL) |
Start Timestamp | String | Leave blank to read only new data. Specify a UTC DateTime value (for example, 2018-07-18T04:56:10) to read all data from that time forward or to wait to start reading until a time in the future. If the MongoDB and Striim servers are in different time zones, adjust the value to match the Striim time zone. If the oplog no longer contains data back to the specified time, reading will start from the beginning of the oplog. If milliseconds are specified (for example, 2017-07-18T04:56:10.999), they will be interpreted as the incrementing ordinal for the MongoDB timestamp (see Timestamps). | |
Username | String | A MongoDB user with access as described in MongoDB setup. |