-
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
[TiDB-CDC] Support TiDB CDC connector #243
Comments
@peigenxiao |
hi @Al-assad, I take a cursory look at Tibigdata, it is a good project, combine batch and streaming, I found it use ticdc to collect the incremental data, right? Why don't use tikv-java-client and StreamObserver, such that we can get record from grpc directly just like the ticdc. What are your concerns or are there any disadvantages you don’t choose it ? |
@zoucao The cdc-client of tikv-java-client was designed by @shanzi, used in TiFlink project and only recently merged into tikv-java-client project (tikv/client-java#174). Actually the unified streaming source design of TiBigData has been planned by @sunxiaoguang at an earlier time. |
Thanks for your replying, @Al-assad , serveral months ago, I made some changes based on tiflink and wanted it could be used in our internal, but I found it was not perfect and had many problems need to fix. From your perspective,which project will the community put more effort into ? |
personally speaking, both may co-exist to meet various scenarios. tikv-java makes application more streamlined while ticdc has greater isolation |
@leonardBang Please assign to me |
Thanks for picking up this ticket @eastfisher, assigned to you. |
mysql> select version();
+--------------------+
| version() |
+--------------------+
| 5.7.25-TiDB-v5.1.0 |
+--------------------+
like:
CREATE TEST_CDC (
ID
STRING,OPTY_ID STRING,
ACCEPT_DATE STRING,
ORG_ID STRING,
BRAND_LABEL STRING,
CURRENT_STATUS STRING,
PAID_AMOUNT STRING,
DEALER_ID STRING,
RECORD_STATUS STRING
)WITH (
'connector' = 'mysql-cdc',
'hostname' = 'xxxx',
'port' = '4000',
'username' = 'root',
'password' = 'xxxx',
'database-name' = 'flink',
'table-name' = 'test_cdc'
);
The text was updated successfully, but these errors were encountered: