SNS maxReceivesPerSecond throttle being ignored

0

Hi there, we're facing an issue with SNS whereby the maxReceivesPerSecond value on the subscription (HTTPS) is being completely ignored. Our traffic logs in Cloudflare show 1.46k requests to our SNS endpoint within 1 minute despite configuring a maxReceivesPerSecond value of 5 (therefore meaning a maximum of 300 requests per minute).

We've verified that disableSubscriptionOverrides is false on the topic itself, so as far as we're aware the throttling should be working? Can anyone advise please?

Topic Delivery Policy

{
  "http": {
    "defaultHealthyRetryPolicy": {
      "minDelayTarget": 20,
      "maxDelayTarget": 600,
      "numRetries": 10,
      "numMaxDelayRetries": 2,
      "numNoDelayRetries": 0,
      "numMinDelayRetries": 0,
      "backoffFunction": "linear"
    },
    "disableSubscriptionOverrides": false,
    "defaultRequestPolicy": {
      "headerContentType": "text/plain; charset=UTF-8"
    }
  }
}

Subscription Delivery Policy

{
  "healthyRetryPolicy": {
    "minDelayTarget": 20,
    "maxDelayTarget": 600,
    "numRetries": 10,
    "numMaxDelayRetries": 2,
    "numNoDelayRetries": 0,
    "numMinDelayRetries": 0,
    "backoffFunction": "linear"
  },
  "sicklyRetryPolicy": null,
  "throttlePolicy": {
    "maxReceivesPerSecond": 5
  },
  "requestPolicy": {
    "headerContentType": "text/plain; charset=UTF-8"
  },
  "guaranteed": false
}
OllieW
已提問 5 個月前檢視次數 113 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南