补充,list -a
也看不到 remove 之后的。
$ cdc cli changefeed list
[
{
"id": "task1",
"summary": {
"state": "normal",
"tso": 434096474877329410,
"checkpoint": "2022-06-23 10:10:35.732",
"error": null
}
},
{
"id": "task2",
"summary": {
"state": "normal",
"tso": 434096474877329410,
"checkpoint": "2022-06-23 10:10:35.732",
"error": null
}
}
]
$ cdc cli changefeed remove -c task2
$ cdc cli changefeed list
[
{
"id": "task1",
"summary": {
"state": "normal",
"tso": 434096479609028610,
"checkpoint": "2022-06-23 10:10:53.782",
"error": null
}
}
]
$ cdc cli changefeed list -a
[
{
"id": "task1",
"summary": {
"state": "normal",
"tso": 434096480133316610,
"checkpoint": "2022-06-23 10:10:55.782",
"error": null
}
}
]