Skip to content

0.5.0

Compare
Choose a tag to compare
@t-richard t-richard released this 30 Aug 08:45
· 39 commits to master since this release
ae29f32

This release brings the support for Partial Batch Failure inside the Symfony Messenger bridge 🎉

To enable it, there's two easy steps:

  1. Change your SqsConsumer service definition
Bref\Symfony\Messenger\Service\Sqs\SqsConsumer:
        public: true
        autowire: true
        arguments:
            # Pass the transport name used in config/packages/messenger.yaml
            $transportName: 'async'
+           $partialBatchFailure: true
  1. Configure a batch size greater than 1 and add ReportBatchItemFailures to the FunctionResponseTypes of your Lambda worker function. Lift does it for you automatically since v1.12.0 😎

What's Changed

Full Changelog: 0.4.4...0.5.0