AI エージェント向け: ドキュメントインデックスは https://www.mongodb.com/ja-jp/docs/llms.txt で利用できます。すべてのページの markdown バージョンは、いずれかの URL パスに .md を追加することで利用できます。
Docs Menu

MongoDB Source 接続プロパティ

次の構成設定を使用して、MongoDB Kafka ソース コネクタが MongoDB クラスターとの接続を確立し、通信する方法を指定します。

カテゴリ別に整理されたソース コネクタ構成設定のリストについては、「ソースConnector構成プロパティ 」に関するガイドを参照してください。

名前
説明

connection.uri

必須

Type: string

Description:
The URI connection string to connect to your MongoDB instance or cluster.

To learn more, see Connect to MongoDB.

重要: connection.uri設定で認証情報が公開されないようにするには、ConfigProvider を使用して適切な構成パラメーターを設定します。

デフォルト: mongodb://localhost:27017,localhost:27018,localhost:27019
許容値: MongoDB URI接続文字列

database

型: string

説明:
変更を監視するデータベースの名前。設定されていない場合、コネクタはすべてのデータベースの変更を監視します。

デフォルト: ""
許容値: 単一のデータベース名

コレクション

タイプ: string

説明:
変更を監視するデータベース内のコレクション名。設定されていない場合、コネクターはすべてのコレクションの変更を監視します。

重要: database の設定が "" に設定されている場合、コネクターは collection の設定を無視します。

デフォルト: ""
許容値: 単一のコレクション名

server.api.version

Type: string

Description:
The Stable API version you want to use with your MongoDB cluster. For more information on the Stable API and versions of MongoDB server that support it, see the Stable API 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

このページを評価

項目一覧