Skip to content

Add command topic Delayed Delivery Policies. (#246) - #374

Merged
zymap merged 5 commits into
streamnative:masterfrom
limingnihao:delayed-delivery
Jun 18, 2021
Merged

zymap merged 5 commits into
streamnative:masterfrom
limingnihao:delayed-delivery

Conversation

@limingnihao

@limingnihao limingnihao commented Jun 16, 2021 •

Copy link
Copy Markdown
Contributor

Add command topic Delayed Delivery Policies:

  • pulsarctl topics get-delayed-delivery [topic]
  • pulsarctl topics set-delayed-delivery [topic] -t 22s -e
  • pulsarctl topics remove-delayed-delivery [topic]

@limingnihao
limingnihao requested review from a team and zymap as code owners June 16, 2021 12:27
Comment thread pkg/ctl/topic/set_delayed_delivery.go Resolved
Comment thread pkg/ctl/topic/set_delayed_delivery.go Resolved
"github.com/stretchr/testify/assert"
)

func TestDelayedDelivery(t *testing.T) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@limingnihao Can you get the test passed locally? There is a known issue with the topic policy, the first time to set the topic policy will be failed in the broker.

@zymap
zymap merged commit 01757cf into streamnative:master Jun 18, 2021
nodece pushed a commit that referenced this pull request Nov 12, 2021
Add command topic Delayed Delivery Policies:

- pulsarctl topics get-delayed-delivery [topic]
- pulsarctl topics set-delayed-delivery [topic] -t 22s -e
- pulsarctl topics remove-delayed-delivery [topic]

(cherry picked from commit 01757cf)
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.

3 participants