Skip to content

Commit a1f0362

Browse files
[8.12](backport #40508) [aws] Update max_number_of_messages doc (#40513)
* 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]>
1 parent d7e7efb commit a1f0362

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.buildkite/pipeline.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ def __init__(self):
143143
self.files: list[str] = []
144144

145145
def get_pr_changeset(self) -> list[str]:
146-
base_branch = os.getenv("BUILDKITE_PULL_REQUEST_BASE_BRANCH", "main")
147-
diff_command = ["git", "diff", "--name-only", "{}...HEAD".format(base_branch)]
146+
hash = ["git", "rev-parse", "8.12"]
147+
diff_command = ["git", "diff", "--name-only", "{}...HEAD".format(hash)]
148148
result = subprocess.run(diff_command, stdout=subprocess.PIPE)
149149
if result.returncode == 0:
150150
self.files = result.stdout.decode().splitlines()

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

+7-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,13 @@ The default is `10 MiB`.
261261
==== `max_number_of_messages`
262262

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

266272
[id="input-{type}-parsers"]
267273
[float]

0 commit comments

Comments
 (0)