-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[pulsar-io][jdbc sink]Support delete and update event for JDBC Sink #4358
[pulsar-io][jdbc sink]Support delete and update event for JDBC Sink #4358
Conversation
Fix some problem of jdbc sink
Update integraiont test for jdbc sink test
52b17f8
to
1ece776
Compare
run integraton tests |
run Integration Tests |
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.
Can you write an example or a documentation on how to use this JDBC sink?
Also is it possible to use debezium source and this JDBC sink to replicate a database to another database?
I will add a use case later. |
@tuteng any updates? |
1 similar comment
@tuteng any updates? |
|
run java8 tests |
@tuteng please rebase this pull request to latest master to address the build errors. |
…pache#4358) ### Motivation Currently our JDBC Sink not support deletion and update events. Support for delete and update events. ### Modifications Support for delete and update events. Add some document for JDBC Sink. apache#4073 ### Verifying this change local Unit Test pass. Integration test pass
### Motivation jdbc sink treat all record as INSERT before #4358 , now it requires an indispensable action property which seems to be a break change, and we can deal records without any action property as INSERT. ### Modifications treat action not set as INSERT action like before.
add to 2.4.1 for conflict with #4703 |
### Motivation jdbc sink treat all record as INSERT before #4358 , now it requires an indispensable action property which seems to be a break change, and we can deal records without any action property as INSERT. ### Modifications treat action not set as INSERT action like before. (cherry picked from commit d8356d8)
Motivation
Currently our JDBC Sink not support deletion and update events.
Support for delete and update events.
Modifications
Support for delete and update events.
Add some document for JDBC Sink. #4073
Verifying this change
local Unit Test pass.
Integration test pass
If
yes
was chosen, please highlight the changesDocumentation
no
)