Skip to content

Instantly share code, notes, and snippets.

View pankajjs's full-sized avatar

Pankaj pankajjs

View GitHub Profile
@pankajjs
pankajjs / SQS.java
Last active March 21, 2025 15:00
The simplest way to integrate AWS SQS with spring boot service
# Add below dependecies in build.gradle
# Make sure to update the version
implementation 'io.awspring.cloud:spring-cloud-aws-starter-sqs:3.0.2'
implementation 'software.amazon.awssdk:sqs:2.20.82'
# Add these properties in application.properties file
# `${VAR_NAME}` coming from environment variables
aws.accessKey=${AWS_ACCESS_KEY_ID}
aws.secretKey=${AWS_SECRET_ACCESS_KEY}
aws.region=${AWS_REGION}