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?
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.