connect icon indicating copy to clipboard operation
connect copied to clipboard

Add RestartTask function

Open chris-vest opened this issue 4 years ago • 2 comments

As per the Confluent documentation, the connectors/$name/restart endpoint only restarts the Connector, but not the Connector's tasks. There is a separate endpoint for restarting tasks by task ID.

Thanks for reviewing my PR!

chris-vest avatar May 20 '20 10:05 chris-vest

Codecov Report

Merging #9 into master will increase coverage by 0.30%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   87.39%   87.70%   +0.30%     
==========================================
  Files           3        3              
  Lines         119      122       +3     
==========================================
+ Hits          104      107       +3     
  Misses          9        9              
  Partials        6        6              
Impacted Files Coverage Δ
connectors.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 759c155...a5331ec. Read the comment docs.

codecov[bot] avatar May 20 '20 10:05 codecov[bot]

I've noticed there's another PR open which adds this function plus some other useful ones - it doesn't look like the author of that PR is going to work on it any longer. I am happy to finish it off according to your comments on his PR?

chris-vest avatar May 20 '20 11:05 chris-vest