Skip to content

[#186] - delete topics from CLI#245

Open
clehene wants to merge 2 commits intomesos:masterfrom
clehene:master
Open

[#186] - delete topics from CLI#245
clehene wants to merge 2 commits intomesos:masterfrom
clehene:master

Conversation

@clehene
Copy link
Copy Markdown

@clehene clehene commented Aug 3, 2016

  • Bumped version (shouldn't this be done after each release?)
  • Added delete capability

@deric
Copy link
Copy Markdown

deric commented Aug 15, 2016

👍

Comment thread README.md
# curl "http://localhost:7000/api/topic/delete?topic=t"
{"topic" : {"name" : "t", "partitions" : {"0" : "0, 1"}, "options" : {}}}
```

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think DELETE is more appropriate here than a GET to /delete endpoint

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@liorze I agree, however I made this consistent with the rest of the code (remove broker) which uses GET for the removal operation as well. Changing to proper HTTP DELETE operations it's, hence a change of the current API which is outside of the scope of this issue IMO.

@steveniemitz
Copy link
Copy Markdown
Contributor

This is an awesome patch, do you think you could rebase it and I'll merge it in? I can take a crack at rebasing it too if you don't have time.

@clehene
Copy link
Copy Markdown
Author

clehene commented Jan 26, 2017

@steveniemitz I'll attempt a rebase hopefully tomorrow

plaflamme added a commit to plaflamme/kafka that referenced this pull request Jun 13, 2017
plaflamme added a commit to plaflamme/kafka that referenced this pull request Jun 13, 2017
plaflamme added a commit to plaflamme/kafka that referenced this pull request Jun 13, 2017
plaflamme added a commit to plaflamme/kafka that referenced this pull request Jun 13, 2017
plaflamme added a commit to plaflamme/kafka that referenced this pull request Jun 13, 2017
@plaflamme plaflamme mentioned this pull request Jun 13, 2017
plaflamme added a commit to plaflamme/kafka that referenced this pull request Jun 13, 2017
plaflamme added a commit to plaflamme/kafka that referenced this pull request Jun 13, 2017
steveniemitz pushed a commit that referenced this pull request Jun 14, 2017
* Delete topic from CLI.

Closes #186. Inspired by #245

* Use FormParam instead of BothParam.

* Adds unit tests.
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

Successfully merging this pull request may close these issues.

4 participants