awslabs / awslabs/amazon-sqs-java-temporary-queues-client

Empty virtual queues are not deleted

Open
#68 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
99
Forks
27
PR merge metrics
No merged PRs in 30d

Description

We have implemented a maven library, in order to manage all the Amazon services, and a requestor-responder pattern implemented, where the requestor, is a Grails application, and responder is a Spring-boot application. Both applications, use the same maven library to communicate with Amazon (S3, SQS, Personalize,...).

On each requestor and responder restart, the number of temporary queues increase, and exist a lot of pending messages:
![image](https://user-images.githubusercontent.com/86422589/123287599-1fd1c900-d50f-11eb-8eac-7dad620f9a3e.png)

Reading the documentation, I saw that empty temporary queues must to be deleted, after 5 minutes idle. In order to test it, I purged all the messages on temporary queues, and after 30 minutos, those queues are not deleted:
![image](https://user-images.githubusercontent.com/86422589/123288182-9cfd3e00-d50f-11eb-96b5-eccc66895a55.png)

What is the problem? We are using amazon-sqs-java-temporary-queues-client version 1.2.1.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.