Repository navigation
cant subscribe with maxInProgress option #985
Description
Activity
Where is that field hiding? I'll find it unless @callmehiphop beats me to it.
I wasn't able to reproduce this locally - @leibale would you mind sharing some example code to help reproduce this error? I believe
maxInProgressis a convenience option for the client only, so I'm a little confused on how it's getting sent to the upstream API.- addedapi: pubsubIssues related to the Pub/Sub API.Issues related to the Pub/Sub API.
on Dec 3, 2015 when you create a subscription you can set the interval and stuff like this, but you can't set the maximum of messages your worker will work in parallel.
at version 24 (I think) wee (I create a pull request) add option to set the
maxInProgressand the subscription not pull more messages if your worker not call to message.ack or message.skip (this functions do -- to the counter and check if there is more messages).I'm sorry for the English..
- added a commit that references this issue
on Jul 23, 2025 - added a commit that references this issue
on Feb 24, 2026 - added 2 commits that reference this issue
on Mar 23, 2026 - added a commit that references this issue
on Mar 27, 2026 - added a commit that references this issue
on May 5, 2026
it's return ApiError to callback