spotify / async-google-pubsub-client

[SUNSET] Async Google Pubsub Client
Apache License 2.0
158 stars 40 forks source link

Enable access to create a custom subscription #15

Open robertsutherland opened 8 years ago

robertsutherland commented 8 years ago

I was having issues with subscriptions created with the createSubscription function, where messages weren't being acknowledged on time. I would like to be able to create a subscription with a custom acknowledgement deadline. I believe createSubscription, defined on line 399 of Pubsub.java should be made public to enable use of the subscription builder, allowing custom acknowledgement deadlines to be set.