Thank you Jason. One more question, the response codes are described as for all endpoints:
Response Codes: 202 (Accepted) on successful restart initiation, 404 if the connector doesn't exist What is the response code in the no-op case? Ismael On Mon, Apr 4, 2016 at 6:52 PM, Jason Gustafson <ja...@confluent.io> wrote: > Hey Ismael, thanks for having a look. I've changed pause/resume to use PUT. > > -Jason > > On Sun, Apr 3, 2016 at 7:30 PM, Ewen Cheslack-Postava <e...@confluent.io> > wrote: > > > Ismael, > > > > Great point. Pause and resume should be idempotent and actually represent > > updating a resource that gets written to Kafka (although I must admit I > > don't know if the use of 202/Accepted should affect this at all), the > > restart endpoints seem a bit different as they are one-off immediate > > commands. > > > > -Ewen > > > > On Fri, Apr 1, 2016 at 3:52 PM, Ismael Juma <ism...@juma.me.uk> wrote: > > > > > Hi Jason, > > > > > > Do I understand correctly that these requests are idempotent? If so, > why > > > are they POSTs instead of PUTs? > > > > > > Ismael > > > > > > On Thu, Mar 31, 2016 at 5:31 PM, Jason Gustafson <ja...@confluent.io> > > > wrote: > > > > > > > Hi All, I've written a short KIP to add control APIs to Kafka Connect > > to > > > > make administration easier: > > > > > > > > > > > > > > https://cwiki.apache.org/confluence/display/KAFKA/KIP-52%3A+Connector+Control+APIs > > > > . > > > > Please let me know your thoughts. > > > > > > > > Thanks, > > > > Jason > > > > > > > > > > > > > > > -- > > Thanks, > > Ewen > > >