-
Notifications
You must be signed in to change notification settings - Fork 289
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
Improve usability in cdc client #542
Comments
I will try to implement the feature 1. |
Turns out, it would be better to implement feature 1 and feature 2 together, as 1 can use address of captures to pause/resume/stop changefeeds. |
I'm going to resolve 6 and 7. |
I think it's OK to provide both an HTTP API and a command-line tool, but the command-line tool should simply send calls to the API. I think using the "admin-job" flag to manage resources is very confusing. An HTTP API should use HTTP verbs to manage resources rather than opaque and confusing integers. |
All tasks completed |
Feature Request
Is your feature request related to a problem? Please describe:
Currently we use both
cdc cli
andHTTP API
to manage changefeed, some features are not easy to use.Describe the feature you'd like:
cdc cli
andHTTP API
is not user friendly, maybe we can move the HTTP API providing pause/resume/stop of changefeed intocdc cli
cdc cli capture list
doesn't include the bindingstatus_ip:status_port
of capturecurl -X POST -d "admin-job=3&cf-id=xxx"
,cdc cli changefeed list
doesn't include this changefeed, bugcdc cli changefeed query --changefeed-id=xxx
can query itcurl -X POST -d "admin-job=3&cf-id=xxx"
, resume this changefeed has weird output (127.0.0.1:8303
is owner) ref: write ut cases for operator package ticdc#541cdc cli
logs to file by default now, which is not suitable for a command line tool, better to log some critical information to stdout.PD
andTiKV
version compatibility check beforecdc server
start up.cdc cli changefeed remove
. Reduce object count and memory usage for TableInfo ticdc#564cdc server
andchangefeed
.changefeed list
orchangefeed query -s
have supported.changefeed list
it: Add basic failover it test ticdc#721cdc cli meta
should support clean up GC-TTL in PD. cmd: add a command to delete CDC GC TTL #652The text was updated successfully, but these errors were encountered: