Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQS has a maximum of 10 messages #31614

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions x-pack/filebeat/docs/inputs/input-aws-s3.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ The default is `10 MiB`.
[float]
==== `max_number_of_messages`

The maximum number of SQS messages that can be inflight at any time. Defaults
to 5.
The maximum number of SQS messages that can be inflight at any time, with a maximum of 10. Defaults
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this in response to some error observed while using the input?

If so then I think there may be an issue in the code. I intended to allow max_number_of_messages > 10 while only calling ReceiveMessage with a maximum value of 10. So the input would attempt to maximum the usages of the workers while splitting up the calls to ReceiveMessage into batches no larger than 10.

to 5.

[id="input-{type}-parsers"]
[float]
Expand Down