Visão geral
Use as seguintes definições de configuração para especificar como o de MongoDB Kafka coletor do connector se conecta e se comunica com o MongoDB cluster.
Para obter uma lista de definições de configuração do conector de coletor organizadas por categoria, consulte o guia sobre Propriedades de configuração do Connector de coletor.
Configurações
| Nome | Descrição | 
|---|---|
| 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 IMPORTANTE: para evitar expor suas credenciais de autenticação na sua configuração do  Default:  mongodb://localhost:27017Accepted 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.versionconfiguration option. For more information on the Stable API, see
the MongoDB manual entry on the
Stable API.Default:  falseAccepted Values:  trueorfalse | 
| 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.versionconfiguration option. For more information on the Stable API, see
the MongoDB manual entry on the
Stable API.Default:  falseAccepted Values:  trueorfalse |