Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restarting a failed task #67

Closed
samanta1983 opened this issue Feb 14, 2018 · 7 comments
Closed

Restarting a failed task #67

samanta1983 opened this issue Feb 14, 2018 · 7 comments

Comments

@samanta1983
Copy link

The restart button in the UI attempts to restart the connector.

"POST /connectors/ES-sink/restart HTTP/1.1" 204 - 18 (org.apache.kafka.connect.runtime.rest.RestServer:60)

Is it possible to restart individual task from the UI?

/connectors/ES-sink/restart/tasks/0/restart

@jglambed
Copy link
Collaborator

Hi @samanta1983,
Restarting a task from kafka-connect-ui is a functionality that we are planning to add in the near future. Unfortunately I cannot give you an ETA right now.

@asdf2014
Copy link
Contributor

Hi @samanta1983 @jglambed . It seems that already existed RESTful api to suport the new feature. $ curl -X POST localhost:8083/connectors/file-sink/tasks/0/restart | jq.

@asdf2014
Copy link
Contributor

image

@asdf2014
Copy link
Contributor

@samanta1983 @jglambed Already add the new feature in #72 . PTAL.

@Tapppi
Copy link

Tapppi commented Apr 10, 2018

@jglambed @asdf2014 Could you release a new version with the restart task button? Would help immenseley with a very unstable connector we are running..

@lixiandai
Copy link

will this feature be on docker hub soon?
https://hub.docker.com/r/landoop/kafka-connect-ui

@andmarios
Copy link
Contributor

Hi @lixiandai. This feature is on docker hub since July.
You can get it either by pulling the latest tag, or one of 0.9.5 and 0.9.6.

If you can't see the button, try to hard-refresh your browser. For Chrome you would bring up the developer console, then press F5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants