Skip to content

Commit

Permalink
[8.12](backport #40508) [aws] Update max_number_of_messages doc (#40513)
Browse files Browse the repository at this point in the history
* Update max_number_of_messages doc (#40508)

(cherry picked from commit 0567022)

# Conflicts:
#	x-pack/filebeat/docs/inputs/input-aws-s3.asciidoc

* Update input-aws-s3.asciidoc

* fix ci

---------

Co-authored-by: kaiyan-sheng <[email protected]>
  • Loading branch information
mergify[bot] and kaiyan-sheng authored Aug 15, 2024
1 parent d7e7efb commit a1f0362
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .buildkite/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ def __init__(self):
self.files: list[str] = []

def get_pr_changeset(self) -> list[str]:
base_branch = os.getenv("BUILDKITE_PULL_REQUEST_BASE_BRANCH", "main")
diff_command = ["git", "diff", "--name-only", "{}...HEAD".format(base_branch)]
hash = ["git", "rev-parse", "8.12"]
diff_command = ["git", "diff", "--name-only", "{}...HEAD".format(hash)]
result = subprocess.run(diff_command, stdout=subprocess.PIPE)
if result.returncode == 0:
self.files = result.stdout.decode().splitlines()
Expand Down
8 changes: 7 additions & 1 deletion x-pack/filebeat/docs/inputs/input-aws-s3.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,13 @@ The default is `10 MiB`.
==== `max_number_of_messages`

The maximum number of SQS messages that can be inflight at any time. Defaults
to 5.
to 5. Setting this parameter too high can overload Elastic Agent and cause
ingest failures in situations where the SQS messages contain many S3 objects
or the S3 objects themselves contain large numbers of messages.
We recommend to keep the default value 5 and use the `Balanced` or `Optimized for
Throughput` setting in the
{fleet-guide}/es-output-settings.html#es-output-settings-performance-tuning-settings[preset]
options to tune your Elastic Agent performance.

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

0 comments on commit a1f0362

Please sign in to comment.