eventbridge pipe SQS polling frequency

0

I have an eventBridge pipe that has SQS as the source. It currently polls the queue 10s of thousands of times a day. Am I able to reduce the polling frequency to something like once a minute?

brian
已提問 2 個月前檢視次數 121 次
2 個答案
1
已接受的答案

No. You can't control the rate. EventBridge Pipes polls the queue in a continues manner using long polling with 20 seconds wait (the poller makes a Receive Messages call, passing a wait time of 20 seconds and if there are no messages, the call waits up to 20 seconds for messages to arrive). This means that each poller makes 3 calls per minute to get messages from the queue when there are no messages. If there are messages, it does it more frequently. We start with 5 pollers.

You can find more information here.

profile pictureAWS
專家
Uri
已回答 2 個月前
profile picture
專家
已審閱 2 個月前
0

A pipe in STARTED state continuously polls for events from the source, scaling up and down depending on the available backlog and configured batching settings. EventBridge polls the queue and invokes your pipe synchronously with an event that contains queue messages. EventBridge reads messages in batches and invokes your pipe once for each batch. When your pipe successfully processes a batch, EventBridge deletes its messages from the queue. By default, EventBridge polls up to 10 messages in your queue simultaneously and sends that batch to your pipe. To avoid invoking the pipe with a small number of records, you can tell the event source to buffer records for up to five minutes by configuring a batch window.

profile pictureAWS
專家
已回答 2 個月前

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

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

回答問題指南