Configuration for MongoDB

Enable (persistence.mongodb.enabled)

A switch to enable or disable use of MongoDB as a NoSQL persistence database.

Default: false

User Name (persistence.mongodb.username)

User name to connect to the MongoDB database.

Password (persistence.mongodb.password)

Password to connect to the MongoDB database.

Asynchronous Thread Count (persistence.mongodb.async.thread)

The number of threads allocated to process asynchronous requests.

Default: 20

Mongo Client URI (persistence.mongodb.mongoClientURI)

Provide the seed list of host and IP addresses for query routers for fault-tolerance. Example: mongodb://mongos1:27017,mongos2:27017,mongos3:27017/Akana?connectTimeoutMS=15000&socketTimeoutMS=1500000&minPoolSize=0&maxPoolSize=100&waitQueueMultiple=5&waitQueueTimeoutMS=10000 Please see the driver documentation for more options. URI format for defining connections between applications and Envision MongoDB instances. authSource - An authMechanism must be configured if the user wants to enable MongoDB's access control. connectTimeoutMS - The time in milliseconds to attempt a connection before timing out. socketTimeoutMS - The time in milliseconds to attempt a send or receive on a socket before the attempt times out. minPoolSize - The minimum number of connections in the connection pool. maxPoolSize - The maximum number of connections in the connection pool. waitQueueMultiple - The number of threads that are allowed to wait for a connection to become available from the pool. This number is multiplied by the maximum number of threads to determine the queue size. waitQueueTimeoutMS - The maximum time, in milliseconds, that a thread can wait for a connection to become available. Provide the access control details in case the MongoDB instances are running with Auth flag enabled. The access control mechanism for SCRAM-SHA1: mongodb://<userName>:<password>@localhost:27017/Akana?authSource=admin&authMechanism=SCRAM-SHA-1&connectTimeoutMS=15000&socketTimeoutMS=1500000&minPoolSize=0&maxPoolSize=100&waitQueueMultiple=5&waitQueueTimeoutMS=10000

autoInstall (persistence.mongodb.autoinstall)

A switch to enable or disable automatic installation of seeders.

Default: false

MapReduceMaxExecTime (persistence.mongodb.mapReduceMaxExecTime)

Maximum execution time, in minutes, for a MapReduce job to run. If maximum execution time is exceeded, the job aborts, and must be recovered by the recovery job.

Default: 10

maxBatchSize (persistence.mongodb.rollup.maxBatchSize)

The maximum number of raw records that can be rolled up in one batch.

Default: 10000

maxRecoveryBatchSize (persistence.mongodb.rollup.maxRecoveryBatchSize)

The maximum number of raw records in a batch, for a recovery job.

Default: 10000

skipRecoveryIteration (persistence.mongodb.rollup.skipRecoveryIteration)

Number of iterations to skip before running the recovery jobs. Use zero (0) to run recovery after every rollup, use negative one (-1) to never run.

Default: 10

rollupStrategy (persistence.mongodb.rollup.strategy)

Set the default rollup mechanism for data rollup.

Default: Aggregation