bulolo opened a new issue, #6149: URL: https://github.com/apache/seatunnel/issues/6149
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened ``` source { MongoDB-CDC { result_table_name = "fake" hosts = "192.168.103.113:27011" database = ["pms-local"] collection = ["pms-local.demand_item_row"] username = root password = "@dakewe2022" schema = { fields { "_id" : string, "ras" : string, "planSn" : string, } } } } ``` 随便来一个 string 类型的字段是null ,就直接报错停止,这个CDC的意义何在? ### SeaTunnel Version 2.3.3 ### SeaTunnel Config ```conf env { execution.parallelism = 1 job.mode = "STREAMING" execution.checkpoint.interval = 5000 } source { MongoDB-CDC { result_table_name = "fake" hosts = "192.168.103.113:27011" database = ["pms-local"] collection = ["pms-local.demand_item_row"] username = root password = "@dakewe2022" schema = { fields { "_id" : string, "ras" : string, "planSn" : string } } } } sink { jdbc { url = "jdbc:mysql://192.168.103.113:3306" driver = "com.mysql.cj.jdbc.Driver" user = "root" password = "XXX" generate_sink_sql = true database = test table = demand_item_row primary_keys = ["_id"] } } ``` ### Running Command ```shell ./bin/seatunnel.sh --config ./example/mongo -e local ``` ### Error Exception ```log Caused by: org.apache.seatunnel.engine.common.exception.SeaTunnelEngineException: org.apache.seatunnel.connectors.seatunnel.cdc.mongodb.exception.MongodbConnectorException: ErrorCode:[COMMON-05], ErrorDescription:[Unsupported operation] - Unable to convert to <STRING> from nullable value BsonNull ``` ### Zeta or Flink or Spark Version _No response_ ### Java or Scala Version _No response_ ### Screenshots _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
