krespo commented on PR #13748: URL: https://github.com/apache/kafka/pull/13748#issuecomment-1562728086
@gharris1727 First of all thank you for your feedback. As you said, I know that feature is only available in kafka version 3.5, which hasn't been released yet. The open source versions I'm using are as follows: ``` debezium: 2.1 kafka connect: 2.7.1 mysql: 8 ``` When the column in mysql is "nullable" and "default value" is set, we founded that the message that the kafka connector sends through the JsonConverter is always the "default value", even though the column is updated to "null". So I checked the contents of "KAFKA-8713", and after building the source code of Kafka 3.5 version and creating "connect-json-3.5.0.jar", the "${kafka_connect_home} /libs" in the connect-json library was replaced with a new version. Afterwards, I set the "replace.null.with.default" setting to "false", but found that the same problem still occurs. And through debugging, it was found that to solve the "KAFKA-8713" issue, not only the connect-json module but also the connect-api module had to be modified. So I made a pull request for my modified code. Currently, connect-json.jar and connect-api.jar have been replaced with version 3.5, and they are working properly. Please check the code I modified once again. thank you -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org