apache/pulsar-client-go

Add namespaces subscriptionExpirationTime commands

klevy-toast opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
I would like to get / set / delete a namespace's subscriptionExpiration policies using the go client. It is not currently implemented

Describe the solution you'd like
In pulsaradmin/pkg/admin/namespace.go, implement GetSubscriptionExpirationTime, SetSubscriptionExpirationTime, RemoveSubscriptionExpirationTime.

Describe alternatives you've considered
Not sure

Additional context
Ultimately I would like to add these to the streamnative terraform-provider. This is an intermediary step.