Skip to content

Extension to Amazon SQS that adds support for sending and receiving messages greater than 256K

License

Notifications You must be signed in to change notification settings

raol/amazon-sqs-net-extended-client-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amazon SQS Extended Client Library for .NET

Stand With Ukraine

Build status

This is port to .NET of existing Amazon Extended Client Library for Java It enables you to store message payloads in S3 and hence overcomes message size limitation of the SQS. With this library you can:

  • Specify whether message payloads should be always stored in S3 or when message size exceeds configurable threshold.

  • Send message and store its payload in S3 bucket.

  • Receive stored message from S3 bucket transparently

  • Delete stored payload from the S3 bucket.

Installation

Nuget

To install via nuget, run following command in the Package Manager Console

Install-Package Amazon.SQS.ExtendedClient

Usage

var s3Client = new AmazonS3Client(new BasicAWSCredentials("<key>", "<secret>"), "<region>");
var sqsClient = new AmazonSQSClient(new BasicAWSCredentials("<key>", "<secret>"), "<region>");
var extendedClient = new AmazonSQSExtendedClient(
    sqsClient, 
    new ExtendedClientConfiguration().WithLargePayloadSupportEnabled(s3Client, "<s3bucketname>"));
extendedClient.SendMessage(queueUrl, "MessageBody");

About

Extension to Amazon SQS that adds support for sending and receiving messages greater than 256K

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages