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

Incubating Program: Add Apache Pulsar to tidb-binlog #117

Closed
wolfstudy opened this issue Dec 5, 2019 · 12 comments
Closed

Incubating Program: Add Apache Pulsar to tidb-binlog #117

wolfstudy opened this issue Dec 5, 2019 · 12 comments
Labels
incubating-request/feature This is an Incubating Program request for a feature

Comments

@wolfstudy
Copy link
Contributor

wolfstudy commented Dec 5, 2019

Incubating Program

Add Apache Pulsar to tidb-binlog.

Describe the feature or project you want to incubate:

Summary

tidb-binlog is a very nice and efficient Change Data Capture(CDC) tool, introducing a new component Apache Pulsar to further improve the processing power of tidb-binlog.

Motivation

During the Change Data Capture(CDC), we need to ensure the order of the messages. Aka, we need to ensure that DDL arrives before DML. Currently, we use Kafka to process the order of messages, but as you know, Kafka can only guarantee the order of messages within a single partition. If we need to expand the downstream data processing capabilities, sometimes we want more partitions to provide more processing power, but how do we ensure the order of messages at this time? This is a trickier question.

Here, please allow me to introduce a new feature of Apache Pulsar: key_shared It ensures that messages are distributed to the key in order different partitions, this sounds like a very nice feature. Can help tidb-binlog to improve processing performance, at the same time, Pulsar has other great features, please refer to Apache Pulsar.

This is one of the reasons I introduce Apache Pulsar, and the other is we can consider making tidb-binlog support pluggable interfaces while allowing support for Kafka, Pulsar and other message queues, which can give users more choices.

Estimated Time

30 days

@siddontang
Copy link
Member

PTAL @GregoryIan

@winkyao
Copy link
Contributor

winkyao commented Dec 8, 2019

@wolfstudy Thanks for your request. Could you please write an RFC or Proposal to https://github.com/pingcap/community/tree/master/rfc, and add a link in the description of this issue?

@winkyao winkyao added incubating-request/project This is an Incubating Program request for a project incubating-request/feature This is an Incubating Program request for a feature and removed incubating-request/project This is an Incubating Program request for a project labels Dec 8, 2019
@wolfstudy
Copy link
Contributor Author

@winkyao PTAL #136 , thanks.

@IANTHEREAL
Copy link
Contributor

I will take a look

@wolfstudy
Copy link
Contributor Author

Thanks @GregoryIan help, @winkyao #136 has been merged, any update about the issue? Or how we plan for the next step.

@wolfstudy
Copy link
Contributor Author

@winkyao @GregoryIan @siddontang any update for this?

@wolfstudy
Copy link
Contributor Author

ping @winkyao @GregoryIan @siddontang PTAL thanks.

@wolfstudy
Copy link
Contributor Author

ping @winkyao @GregoryIan @siddontang any update for this?

@winkyao
Copy link
Contributor

winkyao commented Jun 22, 2020

LGTM

@wolfstudy
Copy link
Contributor Author

@GregoryIan @siddontang PTAL again, thanks

@IANTHEREAL IANTHEREAL changed the title Incubating Program: Add Apache Pulsar to tidb-binlog Incubating Program: Add Apache Pulsar to ticdc Jul 7, 2020
@IANTHEREAL IANTHEREAL changed the title Incubating Program: Add Apache Pulsar to ticdc Incubating Program: Add Apache Pulsar to tidb-binlog Jul 7, 2020
@IANTHEREAL
Copy link
Contributor

I suggest integrating Apache Pulsar into ticdc, are there any issues for it? @wolfstudy

rleungx pushed a commit to rleungx/community that referenced this issue Jun 17, 2021
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
@tisonkun
Copy link
Contributor

tisonkun commented Sep 3, 2021

Closed as integrated Apache Pulsar into TiCDC by pingcap/tiflow#751

@tisonkun tisonkun closed this as completed Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incubating-request/feature This is an Incubating Program request for a feature
Projects
None yet
Development

No branches or pull requests

5 participants