-
Notifications
You must be signed in to change notification settings - Fork 140
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
[#186] - delete topics from CLI #245
base: master
Are you sure you want to change the base?
Conversation
clehene
commented
Aug 3, 2016
- Bumped version (shouldn't this be done after each release?)
- Added delete capability
👍 |
# curl "http://localhost:7000/api/topic/delete?topic=t" | ||
{"topic" : {"name" : "t", "partitions" : {"0" : "0, 1"}, "options" : {}}} | ||
``` | ||
|
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
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. |
@steveniemitz I'll attempt a rebase hopefully tomorrow |