pulsarctl icon indicating copy to clipboard operation
pulsarctl copied to clipboard

Add functions to unset namespace properties

Open lovrogalesic-toast opened this issue 2 years ago • 0 comments

Some properties in namespaces (like message_ttl or max_consumers_per_topic) can be set on the namespace level or the broker level (using the broker config). Currently, both pulsarctl and terraform-provider-pulsar don't handle unsetting these properties but can only set them to the value of 0.

Our goal is to be able to unset a property for a namespace so it actually falls back to the broker defaults instead of overriding it with a value of 0

If this issue and the PR are accepted, we will open a new PR for the terraform-provider-pulsar to follow these changes.

PR: https://github.com/streamnative/pulsarctl/pull/856

lovrogalesic-toast avatar Oct 12 '22 11:10 lovrogalesic-toast