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
asked 2 months ago103 views
2 Answers
1
Accepted Answer

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
EXPERT
Uri
answered 2 months ago
profile picture
EXPERT
reviewed a month ago
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
EXPERT
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions