-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[debezium] Improve convertToBinary for RowDataDebeziumDeserializeSchema #2435
[debezium] Improve convertToBinary for RowDataDebeziumDeserializeSchema #2435
Conversation
@ruanhang1993 Hello, please help review it. |
The pipeline is |
7d80b63
to
6552a59
Compare
@leonardBang PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @gong for the contribution, the change looks good to me, could you add a test for this change?
|
@leonardBang I add an UT. |
...r-mysql-cdc/src/test/java/com/ververica/cdc/connectors/mysql/table/MySqlConnectorITCase.java
Show resolved
Hide resolved
acef89b
to
479d145
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @gong for the explanation and ITCase, the code change part looks good to me.
Could you add parameter 'debezium.binary.handling.mode' = 'base64' to cdc connector option part of docs ? A short paragraph to describe the user case and parameter is recommended
@leonardBang Ok. I will add docs to decribe the user case |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @gong for the update, LGTM . Will merge this PR once the CI green
The failed test is not related to current PR, merging. |
* schema: [pipeline-common] use column name to judge whether a column is existed in a specific schema. [cdc-composer] Add common and runtime JAR when submit (apache#2795) [cdc-connector][debezium] Supports conversion from binary bytes to base64 encoded string (apache#2435) [cdc-connector][mysql] MysqlTableSource return metadata in a fixed order (apache#2578) [cdc-connector][mysql] Fix snapshot fetch size conf does not take effect (apache#2766)
…se64 encoded string (apache#2435) This closes apache#2435.
dbzObj may be string when mysql cdc set with param 'debezium.binary.handling.mode' = 'base64'.
So add