liunaijie opened a new issue, #6776: URL: https://github.com/apache/seatunnel/issues/6776
### 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 mysql cdc when use default format, the update will generate 2 record (1 delete, 1 update) when use compatible_debezium_json format, the update will only generate 1 record But when set `key_convert_schemas.enable` to false, will get NPE ### SeaTunnel Version dev ### SeaTunnel Config ```conf env { parallelism = 1 job.mode = "STREAMING" checkpoint.interval = 10000 } source { MySQL-CDC { base-url = "jdbc:mysql://localhost:3306/st_cdc" username = "root" password = "123456" table-names = ["st_cdc.tb01"] startup.mode = "initial" format = compatible_debezium_json debezium = { key.converter.schemas.enable = false value.converter.schemas.enable = false } } } sink { Console { } } ``` ``` ### Running Command ```shell example ``` ### Error Exception ```log Null point exception ``` ### Zeta or Flink or Spark Version _No response_ ### Java or Scala Version _No response_ ### Screenshots when set to true, the body will be empty. <img width="1066" alt="截屏2024-04-29 18 35 50" src="https://github.com/apache/seatunnel/assets/28497357/87b40681-3277-4b41-9038-421e27544d5e"> when set to false, get npe <img width="1066" alt="截屏2024-04-29 18 39 22" src="https://github.com/apache/seatunnel/assets/28497357/27746a45-c82e-4ed1-99e9-2bb5f853fe66"> ### Are you willing to submit PR? - [X] 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]
