Skip to content

Feature request: implement SQSFifoPartialProcessor class #1587

Closed
@dreamorosi

Description

@dreamorosi

Use Case

The Python version of Powertools for AWS features a class called SqsFifoPartialBatchProcessor class, which extends the BatchProcessor class. This class is needed because the use case of processing a batch of messages from an SQS configured as FIFO requires special handling. In the event of a failure, the whole batch must be marked as failed to maintain the order of the messages.

Solution/User Experience

Refer to the implementation found here, and specifically to the SqsFifoPartialBatchProcessor class.

Acceptance criteria

  • The class covers all the features found in the reference implementation
  • The class and its types are exported
  • Unit tests are implemented with 100% coverage
  • Classes and methods are documented via docstrings, following project's conventions as much as possible

Metadata

Metadata

Assignees

Labels

batchThis item relates to the Batch Processing UtilitycompletedThis item is complete and has been merged/shippedfeature-requestThis item refers to a feature request for an existing or new utility

Type

No type

Projects

Status

Shipped

Relationships

None yet

Development

No branches or pull requests

Issue actions