You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am using AWSSQS.jl (v0.6) to send a message to a queue, and I am noticing that sometimes, the message is not visible and cannot be received by pollers. I would greatly appreciate any advice on this
I created an SQS queue using the boto3 library in Python, sent a message to it using AWSSQS.jl, and have been polling it using boto3 in Python from a different account for ~2 hours and have not yet received the message. I would greatly appreciate any advice on how to debug this issue. Please see below for more details. Thank you.
I created an SQS queue with the following parameters:
"MessageRetentionPeriod": "60"
"FifoQueue": "true"
"ReceiveMessageWaitTimeSeconds": "20"
I then sent a message to this queue from an AWS ParallelCluster, using the AWSSQS.jl library. This is the first message that was sent to this queue, and I provided a MessageGroupId and a MessageDeduplicationId. I have been polling on this queue for at least 2 hours from a different account, using the following settings, but no message has been received:
MaxNumberOfMessages=1
VisibilityTimeout=0
WaitTimeSeconds=2
Looking at the SQS logs/metrics for this queue, I can see that 1 message has been sent and that there are multiple empty receives. However, the "Approximate Number Of Messages Visible" is always 0, no messages have been deleted, no messages have been received, and no messages are not visible. I'm really confused how this can be possible, as I thought FIFO queues have at least once delivery. What's also strange is that if I retry all of this, it sometimes work and it sometimes doesn't. I'm really confused about this, and would appreciate any help. Thank you.
The text was updated successfully, but these errors were encountered:
Can you provide the code itself that you're using to make these requests? Is there a reason why you're mixing Julia and Python here? AWS.jl will give you all the functionality that you need to do this in just Julia.
Hello, I am using AWSSQS.jl (v0.6) to send a message to a queue, and I am noticing that sometimes, the message is not visible and cannot be received by pollers. I would greatly appreciate any advice on this
I created an SQS queue using the boto3 library in Python, sent a message to it using AWSSQS.jl, and have been polling it using boto3 in Python from a different account for ~2 hours and have not yet received the message. I would greatly appreciate any advice on how to debug this issue. Please see below for more details. Thank you.
I created an SQS queue with the following parameters:
"MessageRetentionPeriod": "60"
"FifoQueue": "true"
"ReceiveMessageWaitTimeSeconds": "20"
I then sent a message to this queue from an AWS ParallelCluster, using the AWSSQS.jl library. This is the first message that was sent to this queue, and I provided a MessageGroupId and a MessageDeduplicationId. I have been polling on this queue for at least 2 hours from a different account, using the following settings, but no message has been received:
MaxNumberOfMessages=1
VisibilityTimeout=0
WaitTimeSeconds=2
Looking at the SQS logs/metrics for this queue, I can see that 1 message has been sent and that there are multiple empty receives. However, the "Approximate Number Of Messages Visible" is always 0, no messages have been deleted, no messages have been received, and no messages are not visible. I'm really confused how this can be possible, as I thought FIFO queues have at least once delivery. What's also strange is that if I retry all of this, it sometimes work and it sometimes doesn't. I'm really confused about this, and would appreciate any help. Thank you.
The text was updated successfully, but these errors were encountered: