Is your feature request related to a problem? Please describe:
In some the kafka messages missing case, enduser needs to create a blackhole changefeed to identify failed component according to cdc toubleshooting guide.
creating a blackhole changefeed needs 4 steps:
Feature Request
Is your feature request related to a problem? Please describe:
In some the kafka messages missing case, enduser needs to create a blackhole changefeed to identify failed component according to cdc toubleshooting guide. creating a blackhole changefeed needs 4 steps:
identify cdc cluster owner cdc cli capture list --pd=http://10.0.10.25:2379 "is-owner": true,
enable owner debug log curl -X POST -d '"debug"' http://127.0.0.1:8301/admin/log
create blackhole changefeed using the changefeed toml cdc cli changefeed create -c changefeed-test-blackhole --sink-uri="blackhole://" --config xxx.toml
enduser can observe the change log messages grep EmitRowChangedEvents cdc.log
It is not easy to identify the owner and find the existed changefeed toml. Is it possible that combine these steps into one command. for example,
identify the changefeed and owner.
create a blackhole type changefeed attached to existed changefeed cdc cli changefeed create --pd=http://10.0.10.25:2379 --sink-uri="local:///home/tidb/simple-replication-task.log" --clone-changefeed-id=simple-replication-task
new changefeed simple-replication-task-clone-1 create automatically. the blackhole log simple-replication-task.log create in the owner node
Describe the feature you'd like:
easy and quick for enduser.
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy: