MongoDB Connection

Description

MongoDB Leaf FullColor RGB

Describes a MongoDB connection.

The MongoDB connection, specified on a project level, can be reused across multiple (instances of) a transform or other plugin types.

Options

Option Default Description

MongoDB Connection name

The name to use for this connection

Hostname

localhost

cluster hostname

Port

27017

the port for the MongoDB Database

Database name

Authentication database

Username

Password

Authentication mechanism

PLAIN

SCRAM_SHA1, MONGODB_CR or PLAIN

User Kerberos

false

Connection timeout (ms)

Socket timeout (ms)

Read preference

PRIMARY

PRIMARY, PRIMARY_PREFERRED, SECONDARY, SECONDARY_PREFERRED or NEAREST

Use all replica set members?

false

Specify the read preference tag sets

Use an SSL socket factory?

false

Write concern

Replication timeout (ms)

Journaled?

true

Samples (Integration Tests)