amazon-sqs-java-extended-client-lib | Amazon SQS client | AWS library
kandi X-RAY | amazon-sqs-java-extended-client-lib Summary
kandi X-RAY | amazon-sqs-java-extended-client-lib Summary
An extension to the Amazon SQS client that enables sending and receiving messages up to 2GB via Amazon S3.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Retrieves a list of messages from a specific queue
- Get the reserved attribute name if present
- Append user agent
- Embed S3 pointer into S3 object
- Deletes a batch of messages from a queue
- Extract marker from receipt handle
- Gets the S3 pointer from a receipt handle
- Enable the payload support for S3
- Enable support payload messages
- Sets the server side encryption strategy
- Sets the objectCannedACL
- Disables legacy attribute name attribute name
- Enable or disable large payload messages
- Disables support for large payload messages
- Sets whether payloads should be ignored or not
- Closes the SQS connection
- Deletes a specific queue
- Sets the message size threshold
- Creates a new SQS queue
- Delivers a batch of messages to a specific queue
- Changes the visibility of a specific message
- Deletes a message from a queue
- Changes the visibility of a message
- Changes the visibility timeout of a message in a queue
- Adds a permissions to a queue
- Delivers a message to a specific queue
amazon-sqs-java-extended-client-lib Key Features
amazon-sqs-java-extended-client-lib Examples and Code Snippets
Community Discussions
Trending Discussions on amazon-sqs-java-extended-client-lib
QUESTION
I've got two AWS lambda functions connected together via an SQS queue. They've been working correctly for a while, but recently the size of the payload has increased and now it's broken the 256Kb limit.
After reading Question 43738341 like to use the AmazonSQSExtendedClient. I've looked at the code at github and have made my first lambda function send messages correctly (small payloads go via SQS, larger payloads are written to S3).
What I'm struggling with is receiving messages: The entry point for my second lambda looks like:
...ANSWER
Answered 2019-Jul-16 at 20:38The message body of an SQSEvent record where the payload exceeds 256KB should contain a JSON string representing an S3 pointer that consists of the s3BucketName and s3Key attributes for where the actual payload is stored. See the MessageS3Pointer class definition and storeMessageInS3 method of the AmazonSQSExtendedClient class for reference. With this information you should then be able to fetch the message content directly from S3 without relying on the SQS Extended Client Library within your Lambda event handler.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install amazon-sqs-java-extended-client-lib
Sign up for AWS — Before you begin, you need an AWS account. For more information about creating an AWS account and retrieving your AWS credentials, see [AWS Account and Credentials](http://docs.aws.amazon.com/AWSSdkDocsJava/latest/DeveloperGuide/java-dg-setup.html) in the AWS SDK for Java Developer Guide.
Sign up for Amazon SQS — Go to the Amazon [SQS console](https://console.aws.amazon.com/sqs/home?region=us-east-1) to sign up for the service.
Minimum requirements — To use the sample application, you’ll need Java 7 (or later) and [Maven 3](http://maven.apache.org/). For more information about the requirements, see the [Getting Started](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/s3-messages.html) section of the Amazon SQS Developer Guide.
Download — Download the [latest preview release](https://github.com/awslabs/amazon-sqs-java-extended-client-lib/releases) or pick it up from Maven: # Version 2.x
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page