Skip to content

Instantly share code, notes, and snippets.

@kevinhooke
Created August 9, 2021 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevinhooke/e39160c71c1c530a9761f5ddabdefe09 to your computer and use it in GitHub Desktop.
Save kevinhooke/e39160c71c1c530a9761f5ddabdefe09 to your computer and use it in GitHub Desktop.
Kafka Connectors REST apis
# list alll connectors
GET connectorhost:8083/connectors
# status for one connector
GET connectorhost:8083/connectors/connector-name/status
# restart - does not restart failed tasks
POST connectorhost:8083/connectors/connector-name/restart
# restart specific task
POST connectorhost:8083/connectors/connector-name/tasks/0/restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment