GitHub user holdenk opened a pull request:
https://github.com/apache/kafka/pull/3749
[KAFKA-4793] Restart tasks for connector endpoint
As suggested in KAFKA-4793 users may sometimes want to restart all of the
tasks associated with a given connection. This proposed change adds a new
endpoint to ConnectorsResource to allow one to restart all of the tasks
associated with a given connector. This is slightly different than the original
request of KAFKA-4793 with the comments of Ewen Cheslack-Postava in mind that
the migration of modifying the existing endpoint might have some challenges.
Note: this is one of my early contributions to Kafka, so if I'm still
learning the code base -- if I've done something silly please let me know :) (I
mean as always but especially so here :))
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/holdenk/kafka
KAFKA-4793-restart-tasks-for-connector-endpoint
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/3749.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3749
----
commit 92cc2b1f5e96b61da5cc869cede3adc59a387687
Author: Holden Karau <[email protected]>
Date: 2017-08-27T20:09:52Z
Add a tasks param
commit ecd034bef8f61313c6a08e8eff1bc89157d6f4bb
Author: Holden Karau <[email protected]>
Date: 2017-08-27T20:51:33Z
Start adding tasks restart to restart all tasks
commit 1e930f07f719c4ae107b7f8b91ce2e2067940ab5
Author: Holden Karau <[email protected]>
Date: 2017-08-27T21:07:42Z
Fix compile issues with restart all task approach
commit 85cfbc6008e11519c8efd267a2570a5efb661692
Author: Holden Karau <[email protected]>
Date: 2017-08-28T00:00:53Z
Fix test
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---