暴露 Google Pub/Sub 消费者流量控制(`ReceiveSettings`)
作者: Suhas-zs创建于 2026年9月24日更新于 2026年9月24日
标签triage
Is your feature request related to a problem? Please describe.
gofr never sets ReceiveSettings on the Google Pub/Sub subscription, and offers no way to override it. getSubscription (google.go:345) hands the subscription straight to subscription.Receive (google.go:263) with SDK defaults — chiefly MaxOutstandingMessages = 1000.
That default is amplified by how gofr consumes:
内容来源: gofr-dev/gofr