-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Feature][Connector-V2] Support write cdc changelog event into hudi sink #7845
Conversation
Your hudi connector have a bug,please contact me wx 15345737051. @happyboy1024 |
I added you, of course you can also submit an issue description. |
cc @liugddx |
@@ -115,9 +115,9 @@ Note: When this configuration corresponds to a single table, you can flatten the | |||
|
|||
`max_commits_to_keep` The max commits to keep of hudi table. | |||
|
|||
### auto_commit [boolean] |
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.
why delete auto_commit
?
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.
why delete
auto_commit
?
1.HoodieJavaWriteClient is auto commit by default when not configure this.
2.Due to the nature of hudi timelines, data needs to be submitted immediately after the data is writed or deleted, If not next flush will not aware data state of the previous batch. This may result in duplicate data or loss of deleted data.
Overall LGTM. |
convertToSchema(seaTunnelRowType.getFieldType(i)), | ||
convertToSchema( | ||
seaTunnelRowType.getFieldType(i), | ||
ROW_NAME + "_" + seaTunnelRowType.getFieldNames()[i]), |
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.
Is this a standrad way of set field name? org.apache.seatunnel.avro.generated.record_fieldname
?
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 @happyboy1024 |
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.
+1
Purpose of this pull request
Support write cdc changelog into hudi sink, and fix #7837
Does this PR introduce any user-facing change?
How was this patch tested?
Check list
New License Guide
release-note
.