google-cloud-platformgoogle-cloud-pubsubgcloud-java

gcloud-java pubsub API : how to set "Return Immediately" flag


Using gcloud-java pubsub API 0.2.6 - how can I set "Return Immediately" flag to TRUE with the subscription pull?


Solution

  • The "return immediately" flag is set to true by default in the gcloud-java pubsub API for pull calls. There is no way to set the flag at this time, though that particular library is in alpha, so that may change.