Skip to content
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

TiCDC add a test to cover the invariant between MqMessageTypeResolved Event and other Events. #4128

Closed
3AceShowHand opened this issue Dec 29, 2021 · 0 comments · Fixed by #4129
Assignees
Labels
area/ticdc Issues or PRs related to TiCDC. type/enhancement The issue or PR belongs to an enhancement.

Comments

@3AceShowHand
Copy link
Contributor

Is your feature request related to a problem?

TiCDC would send MqMessageTypeResolved messages to the MQ sink, with protocol such as open-protocol, craft, and canal-json.

We need to find a way to guarantee the semantic of the MqMessageTypeResolved message:

If the downstream MQ sink receive a MqMessageTypeResolved message with ts = a, it should be guaranteed that:

  • all received messages should have ts less than a
  • no more messages with ts less than a will be received by the downstream.

Describe the feature you'd like

We have kafka-consumer at the moment, investigating whether it can be used to solve the problem mentioned above.

Describe alternatives you've considered

No response

Teachability, Documentation, Adoption, Migration Strategy

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ticdc Issues or PRs related to TiCDC. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants