-
Notifications
You must be signed in to change notification settings - Fork 288
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
sink: support to output old value #708
Conversation
Signed-off-by: 5kbpers <[email protected]>
Signed-off-by: 5kbpers <[email protected]>
Signed-off-by: 5kbpers <[email protected]>
Signed-off-by: 5kbpers <[email protected]>
Signed-off-by: 5kbpers <[email protected]>
Signed-off-by: 5kbpers <[email protected]>
Signed-off-by: 5kbpers <[email protected]>
Signed-off-by: 5kbpers <[email protected]>
Signed-off-by: 5kbpers <[email protected]>
Signed-off-by: 5kbpers <[email protected]>
please resolve the conflicts @5kbpers |
Signed-off-by: 5kbpers <[email protected]>
Signed-off-by: 5kbpers <[email protected]>
pkg/config/sink.go
Outdated
@@ -17,6 +17,7 @@ package config | |||
type SinkConfig struct { | |||
DispatchRules []*DispatchRule `toml:"dispatchers" json:"dispatchers"` | |||
Protocol string `toml:"protocol" json:"protocol"` | |||
OldValue bool `toml:"old-value" json:"old-value"` |
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.
Shall we add old-value
config to cmd/changefeed.toml
now, and add comment to address this is an experimental feature.
/run-integration-tests |
/run-integration-tests |
/run-integration-tests |
# Conflicts: # cdc/sink/mysql.go # go.mod # go.sum
/run-integration-tests |
/run-integration-tests |
Codecov Report
@@ Coverage Diff @@
## master #708 +/- ##
===========================================
Coverage 33.2346% 33.2346%
===========================================
Files 96 96
Lines 11479 11479
===========================================
Hits 3815 3815
Misses 7309 7309
Partials 355 355 |
/run-kafka-tests |
/run-kafka-tests |
# Conflicts: # cdc/entry/mounter.go
/run-all-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.
/lgtm
/lgtm |
/merge |
/run-all-tests |
Signed-off-by: 5kbpers [email protected]
What problem does this PR solve?
Address a part of https://github.com/pingcap/ticdc/issues/690
Blocked by tikv/tikv#8201
Support to output old value
What is changed and how it works?
Check List
Tests (TODO)
Code changes
Side effects
Related changes
Release note