Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete message, creates another one #38

Open
kdrapala opened this issue Dec 11, 2019 · 3 comments
Open

Delete message, creates another one #38

kdrapala opened this issue Dec 11, 2019 · 3 comments

Comments

@kdrapala
Copy link

Hello, my problem with this docker is about delete message from aws cli.

When I send a message to a queue using this command:
aws --endpoint-url http://localhost:9324 sqs send-message --queue-url http://localhost:9324/queue/default --message-body "Hello, queue!"
Everything is ok. On the UI I see that message.
Receive message is alright too, because when I use this command:
aws sqs receive-message --endpoint-url http://localhost:9324 --queue-url http://localhost:9324/queue/default
I get a JSON object with MessageId, ReceiptHndle, Md5OfBody and Body properties.
Problem is when I trying to delete this message from a queue.

I send this command:
aws sqs delete-message --endpoint-url http://localhost:9324 --queue-url http://localhost:9324/queue/ShadowsDats.fifo --receipt-handle <value> as a value I put a ReceiptHandle property from before "Receive message"

This command not working. I see this message still. I don't have any response from that command.

Second problem is when I create a new queue using this command:
aws --endpoint-url http://localhost:9324 sqs create-queue --queue-name test --attributes FifoQueue=true,ContentBasedDeduplication=true,ReceiveMessageWaitTimeSeconds=20,VisibilityTimeout=3600

Sending message works fine, but when I trying to delete message which I receive before, then on my queue still see that message and (what is more important) i get a duplicate of message on that queue.
I test it on the AWS real service and that CLI commands works fine. Delete too.
Is I do something wrong?

@NielsKSchjoedt
Copy link

Seeing the same behaviour. Makes it kind of useless unfortunately. Anyone who have any idea where I might want to go looking for the problem?

@phishy
Copy link

phishy commented Jan 25, 2023

¯_(ツ)_/¯ I am completely unable to delete a message

@phishy
Copy link

phishy commented Jan 25, 2023

Can someone please archive this repo as trash so nobody uses it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants