Prerequisites

The MongoDB adapter is compatible with MongoDB server versions 3.6 and later. .

It is recommended to maintain the MongoDB server up to date with the latest available patches. For information about the available and officially supported MongoDB releases and the latest available patches, see MongoDB web site.

The MongoDB adapter utilizes the MongoDB client library (driver) for communicating with the MongoDB server. The driver library is included with the adapter, eliminating the need for a separate installation within the adapter's runtime environment.

The network connectivity to the server from the adapter's runtime environment must be configured. The Host property in the connection definition for the adapter must be a valid connection URI string or it must be a DNS resolvable name, or the IP address of the server. The default Host value is localhost. The port specified in the Port property in the connection definition for the adapter must be active and accessible on the broker from the adapter's runtime environment for the adapter to establish connection to the broker. The default Port value is 27017.