AckDeadline does not work even after subscription creation with v1.SubscriptionClient #81
Labels
api: pubsub
Issues related to the googleapis/nodejs-pubsub API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
🚨
This issue needs some love.
type: question
Request for information or clarification. Not an issue.
In my app I really need to configure message ackDeadline. Because of that issue I am not able to do it using
createSubscription
. So I found out a way to create subscription with specific ackDeadlineSeconds usingv1.SubscriptionClient
. But client library does not care about that setting.Environment details
I created a repository with code to reproduce this issue.
Steps to reproduce
npm install
GOOGLE_PROJECT=your-project-id GOOGLE_APPLICATION_CREDENTIALS=path-to-credentials npm run ack-deadline
In source code I did the following:
v1.SubscriptionClient
gcloud pubsub subscriptions describe name
)message
events.How can I achieve the correct behaviour of ackDeadlineSeconds feature?
Thanks!
The text was updated successfully, but these errors were encountered: