WORKLOAD AUTOMATION COMMUNITY
  • Home
  • Blogs
  • Forum
  • Resources
  • Events
    • IWA 9.5 Roadshows
  • About
  • Contact
  • What's new

Simplify Your Queue Service using AWS SQS Plugin with Workload Automation

11/17/2020

0 Comments

 
Picture
Let us understand first about AWS Simple Queue Service (SQS), how Amazon SQS works, it is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications. ​
Picture
AWS SQS eliminates the complexity and overhead associated with managing and operating message-oriented middleware and empowers developers to focus on differentiating work. Using SQS, you can send, store, and receive messages between software components at any volume, without losing messages or requiring other services to be available. 

SQS offers two types of message queues. 
  • Standard queues offer maximum throughput, best-effort ordering, and at-least-once delivery. 
  • SQS FIFO queues are designed to guarantee that messages are processed exactly once, in the exact order that they are sent.
 
So, to enable with Amazon SQS service ,we have developed AWS SQS plugin, using which we can send message for both standard queue as well as FIFO queue and also receive messages from both queue types, either by printing it on job log or saving it in a file. We can also use message output for different plugin as an input parameter. In this way our workload automation users get benefits of SQS service.

Now let us see how this plugin works,

​Pre-req:
·       AWS Account
·       AWS IAM credentials (AWS Key ID, AWS Secret Key). 
 
Log in to the Dynamic Workload Console and open the Workload Designer. Choose to create a new job and select “AWSSQS” job type in the Cloud section 
 
Workload Designer
Picture
Connection 
​

Establishing connection to the AWS server:

​In the connection tab, specify the Access Key ID, Secret Access Key and AWS Region fields to connect to AWS server from Workload Automation end and click on Test Connection. A success message will get displayed when the connection is successful.

  • Access Key ID : This attribute is associated with the AWS account and is mandatory.
  • Secret Access Key : This attribute is associated with the AWS account and is mandatory.
  • AWS Region : This attribute is related to the location in which topics are created. This field is also mandatory.
 
Connection Tab
Picture
Action
  • Queue URL
Provide the queue URL. The queue URL is required to send, receive, and delete queue messages
 
Action Tab
​
Picture
​
  • Choose Operation to Perform

​Publish Message
You can publish the message to FIFO queue or Standard queue.
For FIFO queue, below information needs to be provided.
 
 
Duplication ID
The token used for deduplication of sent messages. If a message with a particular message deduplication ID is sent successfully, any messages sent with the same message deduplication ID are accepted successfully but are not delivered during the 5-minute deduplication interval.

​Group ID
The tag that specifies that a message belongs to a specific message group. Messages that belong to the same message group are always processed one by one, in a strict order relative to the message group.
You can send message by manually inputting the message or through selecting a file.
Picture
Picture
Receive Message
​
Picture
Action Tab
 
You can receive message by pulling one at a time or more than one and provides a feature to store the message to file.
 
Polling Timeout:
 
It is used as timeout for polling in case the queue is empty. Basically, the job will wait for a new message to be in the queue for a maximum period defined in Polling Timeout Field. the value is ms and its default is 30000ms
 
 
Track/Monitor Job:
Picture
JOB Log
​
Picture
Picture
Job Properties – Message Successfully Received
​
Picture
Job Properties – Message Successfully Sent
​
Picture
Therefore, AWS SQS plugin in Workload Automation is a best fit for those who are looking to manage queue service to optimize the waiting period for any service.
 
Are you curious to try out the Amazon SQS plugin? Download the integrations from the Automation Hub and get started OR drop a line at santhoshkumar.kumar@hcl.com.

Author's BIO
Picture
Rooparani Karuti – Senior Test Specialist at HCL Software
 
Working as senior test specialist for Workload Automation-Plugin Factory team in HCL Software Lab, Bangalore. Having 9 years of experience in both manual and automation test scenarios across various domains. ​
View my profile on LinkedIn
Picture
​Paolo Canofari – Developer at HCL Software
 
Works as a Developer for the Workload Automation L3 Support in HCL Software, Rome. Having skills on Java, Python, C/C++, Angular 8 and Docker/Kubernetes deployments.
View my profile on LinkedIn
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Archives

    March 2023
    February 2023
    January 2023
    December 2022
    September 2022
    August 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    July 2020
    June 2020
    May 2020
    April 2020
    March 2020
    January 2020
    December 2019
    November 2019
    October 2019
    August 2019
    July 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    December 2018
    November 2018
    October 2018
    September 2018
    August 2018
    July 2018
    June 2018
    May 2018
    April 2018
    March 2018
    February 2018
    January 2018
    December 2017
    November 2017
    October 2017
    September 2017
    August 2017
    July 2017
    June 2017
    May 2017

    Categories

    All
    Analytics
    Azure
    Business Applications
    Cloud
    Data Storage
    DevOps
    Monitoring & Reporting

    RSS Feed

www.hcltechsw.com
About HCL Software 
HCL Software is a division of HCL Technologies (HCL) that operates its primary software business. It develops, markets, sells, and supports over 20 product families in the areas of DevSecOps, Automation, Digital Solutions, Data Management, Marketing and Commerce, and Mainframes. HCL Software has offices and labs around the world to serve thousands of customers. Its mission is to drive ultimate customer success with their IT investments through relentless innovation of its products. For more information, To know more  please visit www.hcltechsw.com.  Copyright © 2019 HCL Technologies Limited
  • Home
  • Blogs
  • Forum
  • Resources
  • Events
    • IWA 9.5 Roadshows
  • About
  • Contact
  • What's new