管理 Connectors
https://docs.confluent.io/3.2.0/connect/managing.html
列出所有正在使用的connector-plugins
curl localhost:8083/connector-plugins
列出活动的connectors
curl localhost:8083/connectors
重启connector--local-file-sink
curl -X POST localhost:8083/connectors/local-file-sink/restart
获取connector的task
curl localhost:8083/connectors/local-file-sink/tasks
重启connector的task
curl -X POST localhost:8083/connectors/local-file-sink/tasks/0/restart
暂停connector的task
curl -X PUT localhost:8083/connectors/local-file-sink/pause
恢复connector的task
curl -X PUT localhost:8083/connectors/local-file-sink/resume
查看connector的状态
curl localhost:8083/connectors/local-file-sink/status
获取connector的配置
curl localhost:8083/connectors/local-file-sink
删除connector连接
curl -X DELETE localhost:8083/connectors/local-file-sink