Skip to content

Commit 28d68af

Browse files
Addressing Ruben's feedback
1 parent fc919c5 commit 28d68af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aws_lambda_powertools/utilities/batch/sqs_fifo_partial_processor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def process(self) -> List[Tuple]:
9393
# If we have failed messages and we are set to return on the first error,
9494
# short circuit the process and return the remaining messages as failed items
9595
if self.fail_messages and not self._skip_group_on_error:
96-
logger.debug("Processing of failed messages stopped due to the 'skip_group_on_error' is set to False")
96+
logger.debug("Processing of failed messages stopped because 'skip_group_on_error' is False")
9797
return self._short_circuit_processing(i, result)
9898

9999
msg_id = record.get("messageId")

docs/utilities/batch.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Processing batches from SQS works in three stages:
141141

142142
#### FIFO queues
143143

144-
When working with [SQS FIFO queues](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html){target="_blank"}, you should know that a batch may include messages from different group IDs.
144+
When working with [SQS FIFO queues](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html){target="_blank"}, a batch may include messages from different group IDs.
145145

146146
By default, we will stop processing at the first failure and mark unprocessed messages as failed to preserve ordering. However, this behavior may not be optimal for customers who wish to proceed with processing messages from a different group ID.
147147

0 commit comments

Comments
 (0)