ziyanTOP opened a new pull request, #668:
URL: https://github.com/apache/doris-flink-connector/pull/668

   ## Problem Summary
   
   1. **connection-options not passed to MongoDBSourceBuilder**: The internal 
Flink CDC key is `connection.options` (with dot), but users naturally pass 
`connection-options` (with hyphen). Additionally, `.scheme()` and 
`.connectionOptions()` are not called on `MongoDBSourceBuilder`.
   
   2. **Unauthorized errors on system collections**: `getSchemaList()` iterates 
over all collections including system collections (e.g. `system.profile`), 
causing Unauthorized errors.
   
   ## Changes
   
   1. Add `getConnectionOptions()` to try both `connection-options` and 
`connection.options` keys. Wire `.scheme()` and `.connectionOptions()` to 
`MongoDBSourceBuilder`.
   2. Skip collections starting with `system.` during schema inference.
   
   Fixes #664


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to