mongodb

EXPERIMENTAL: This component is experimental and therefore subject to change or removal outside of major version releases.

Use a MongoDB instance as a cache.

Introduced in version 3.43.0.

# Config fields, showing default values
label: ""
mongodb:
url: mongodb://localhost:27017
database: ""
collection: ""
username: ""
password: ""
key_field: ""
value_field: ""

Fields#

url#

The URL of the target MongoDB DB.

Type: string
Default: "mongodb://localhost:27017"

# Examples
url: mongodb://localhost:27017

database#

The name of the target MongoDB DB.

Type: string
Default: ""

collection#

The name of the target collection in the MongoDB DB.

Type: string
Default: ""

username#

The username to connect to the database.

Type: string
Default: ""

password#

The password to connect to the database.

Type: string
Default: ""

key_field#

The field in the document that is used as the key.

Type: string
Default: ""

value_field#

The field in the document that is used as the value.

Type: string
Default: ""