v2.0.0 - 2022-01-16
Changed
-
Breaking: Replace the
consume()
method with areceive_message()
method. Update your code frombatch = aws_sqs_batchlib.consume( queue_url, batch_size=100, maximum_batching_window_in_seconds=15 )
to
batch = aws_sqs_batchlib.receive_message( QueueUrl=queue_url, MaxNumberOfMessages=100, WaitTimeSeconds=15 )
-
Use modern Amazon SQS service endpoints by default to support VPC endpoints.
Added
delete_message_batch()
: Addsession
argument for providing a custom boto3 Sessions for the library.delete_message_batch()
: Add support for FIFO queues.delete_message_batch()
: Automatically retry failed delete operations if the failure is retryable.receive_message()
: Add newreceive_message()
method to receive an arbitrary number of messages from Amazon SQS.receive_message()
: Addsession
argument for providing a custom boto3 Sessions for the library.receive_message()
: Add support for FIFO queues.send_message_batch()
: Add newsend_message_batch()
method to send an arbitrary number of messages to Amazon SQS.send_message_batch()
: Addsession
argument for providing a custom boto3 Sessions for the library.send_message_batch()
: Add support for FIFO queues.send_message_batch()
: Automatically retry failed send operations if the failure is retryable.
Fixed
receive_message()
: Generate uniqueReceiveRequestAttemptId
parameter for each distinctReceiveMessage
API call
ifReceiveRequestAttemptId
is provided toreceive_message()
.
All Changes: v1.1.0...v2.0.0