[Discuss] pulsarctl should use "--non-partitioned" instead of "partitioned" for topic as default type

Open
#137 8 comments 1 reaction 1 assignee View on GitHub

@zymap is already working on this.

Since Jan 16, 2020.

Assessment

This issue has not been assessed yet.

Description

triage/week-50 workflow::backlog

pulsarctl won't delete a normal topic unless given --non-partioned flag:

$ ./pulsarctl topic delete persistent://public/default/temp
[✖]  code: 404 reason: Partitioned topic does not exist
$ ./pulsarctl topic delete --non-partitioned persistent://public/default/temp
Delete topic persistent://public/default/temp successfully

However, pulsar-admin does not need to be told this.

$ apache-pulsar-2.4.1/bin/pulsar-admin topics delete persistent://public/default/temp
$ 
Dominant language
Go
Stars
169
Forks
68
Avg merge
5m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from streamnative/pulsarctl

All issues in streamnative/pulsarctl

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.