What is polling_frequency in sqs plugin?


(Dhaval Bhatt) #1

How polling_frequency parameter works in logstash sqs plugin. default time for this parameter is 20 seconds. Does it mean that logstash will get 10 messages from sqs, process it and wait for 20 seconds before sending another request? Can somebody help me to understand how exactly this works?

Thanks,
DB


(Mark Walkom) #2

It means it will connect every 20 seconds at a minimum, collect any messages waiting and then process them.
If you have enough messages that it takes longer than 20 seconds to process them, you will need to wait for 20 seconds after that batch have processed before the next set are processed.


(system) #3