90poe / connectctl

A kafka connect util

Home Page:https://connectctl.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement tasks sub-commands

richardcase opened this issue · comments

Implement sub-commands to work with tasks directly. We probably need 2 new sub-commands:

  1. connectctl tasks get which given a cluster and connector name will return the tasks for that connector. The results could be output as JSON or as a table. If a task id is supplied then a specific task for that cluster will be output if not all tasks for that cluster.
    See
  1. connectctl tasks restart which given a cluster, connector name and task id will restart a individual task.
    See: https://docs.confluent.io/current/connect/references/restapi.html#post--connectors-(string-name)-tasks-(int-taskid)-restart