Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
Docs Menu
Docs Home
/ /

MongoDB 연결 구성 속성

다음 구성 설정을 사용하여 MongoDB Kafka 싱크 connector 가 MongoDB cluster 와 연결하고 통신하는 방법을 지정합니다.

카테고리별로 정리된 싱크 connector 구성 설정 목록은 싱크 Connector 구성 속성가이드 를 참조하세요.

이름
설명

connection.uri

Required

Type: string

Description:
The MongoDB connection URI string to connect to your MongoDB instance or cluster.
For more information, see the Connect to MongoDB guide

중요한: connection.uri 설정에서 인증 자격 증명 노출되지 않도록 하려면 ConfigProvider 를 사용하고 적절한 구성 매개 변수를 설정하다.

Default: mongodb://localhost:27017
Accepted Values: A MongoDB connection URI string

server.api.version

Type: string

Description:
The Stable API version you want to use with your MongoDB server. For more information on the Stable API and versions of the server that support it, see the Stable API MongoDB server manual guide.

Default: ""
Accepted Values: An empty string or a valid Stable API version

server.api.deprecationErrors

Type: boolean

Description:
When set to true, if the connector calls a command on your MongoDB instance that's deprecated in the declared Stable API version, it raises an exception.

You can set the API version with the server.api.version configuration option. For more information on the Stable API, see the MongoDB manual entry on the Stable API.

Default: false
Accepted Values: true or false

server.api.strict

Type: boolean

Description:
When set to true, if the connector calls a command on your MongoDB instance that's not covered in the declared Stable API version, it raises an exception.

You can set the API version with the server.api.version configuration option. For more information on the Stable API, see the MongoDB manual entry on the Stable API.

Default: false
Accepted Values: true or false

csfle.enabled

Type: boolean

Description:
Flag that, when set to true, enables Client-Side Field Level Encryption (CSFLE) for the MongoDB connection.

Default: false
Accepted Values: true or false

csfle.key.vault. 네임스페이스

Type: string

Description:
Key vault namespace for CSFLE in the format database.collection. For example: encryption.__keyVault.
Required when csfle.enabled is set to true.

Default: ""
Accepted Values: A valid MongoDB namespace in the format database.collection

csfle.local.master.key

Type: string

Description:
Base64-encoded 96-byte local master key for CSFLE with the local KMS provider. The connector uses the key to encrypt and decrypt data encryption keys stored in the key vault.
Required when csfle.enabled is set to true.

Default: ""
Accepted Values: A Base64-encoded 96-byte string

csfle.schema.map

Type: string

Description:
JSON document defining the encryption schema map for CSFLE. This maps namespaces to JSON schemas that specify which fields to encrypt and which encryption algorithm and key to use.

Default: ""
Accepted Values: A valid JSON document

csfle.bypass. 쿼리.analysis

Type: boolean

Description:
Flag that indicates whether or not to bypass automatic query analysis for CSFLE. When set to true, the connector disables automatic encryption based on schema maps, and you must use explicit encryption. When set to false, the connector enables automatic encryption but requires mongocryptd or the crypt_shared library.
Defaults to true to avoid external dependencies.

Default: true
Accepted Values: true or false

돌아가기

구성 속성

이 페이지의 내용