frankjkelly opened a new issue #468:
URL: https://github.com/apache/pulsar-client-go/issues/468


   **Is your feature request related to a problem? Please describe.**
   The Java API supports Non-Durable Subscriptions via SubscriptionMode
   
https://github.com/apache/pulsar/blob/master/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ConsumerBuilder.java#L243-L256
   
   but it appears that the Go client does not
   
https://github.com/apache/pulsar-client-go/blob/25f3075176f853f5f09d89b3b625e0646432735f/pulsar/consumer.go#L76
   
   This is useful in our use case where we have lots of topics with short-lived 
subscriptions that last minutes to hours and then once data is read the topic 
is no longer needed.
   To ensure that data is compacted in the bookies currently we have to set the 
subscription expiration time at the namespace level
   
   **Describe the solution you'd like**
   Please add support for Subscription Mode
   
   **Describe alternatives you've considered**
   Continue to use subscription expiration time
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to