[ANN] aws-sdk-extended first release (0.0.1)
Briefly

"The Amazon SQS Extended Client allows clients to manage Amazon SNS and SQS message payloads that exceed the 256 KB message size limit, up to a size of 2 GB. In the event of publishing such large messages, the client accomplishes this feat by storing the actual payload in a S3 bucket and by storing the reference of the stored object in the SQS queue."
"Specify whether payloads are always stored in Amazon S3 or only when a payload's size exceeds 256 KB. Send a message that references a single message object stored in an Amazon S3 bucket. Get the corresponding payload object from an Amazon S3 bucket. Delete the corresponding payload object from an Amazon S3 bucket. example # for SNS require "aws-sdk-sns" require "aws/sdk/extended" sns = Aws::SNS::Client.new ext_sns = Aws::SNS::ExtendedClient.new(sns) large_message = "fwijeofejow...." #=> over 256kb string"
The Amazon SQS Extended Client enables handling of Amazon SNS and SQS message payloads larger than the 256 KB limit, supporting payload sizes up to 2 GB. Large payloads are stored in an Amazon S3 bucket while the SQS queue holds a reference to the S3 object. The client supports publishing messages that reference S3 objects, retrieving and dereferencing those object references to obtain payloads, and deleting the corresponding S3 objects when needed. Configuration options allow always storing payloads in S3 or only storing them when they exceed 256 KB. The library includes example Ruby usage for SNS through an ExtendedClient wrapper.
Read at Rubyflow
Unable to calculate read time
[
|
]