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

[Queue] Allow FIFO queue construct to declare delivery delay #119

Closed
karrui opened this issue Oct 12, 2021 · 4 comments · Fixed by #120
Closed

[Queue] Allow FIFO queue construct to declare delivery delay #119

karrui opened this issue Oct 12, 2021 · 4 comments · Fixed by #120

Comments

@karrui
Copy link

karrui commented Oct 12, 2021

Hi, (please do point me in the right direction if it's already possible)

is there a possibility of programatically setting the delivery delay in the serverless.yml declaration?

@t-richard
Copy link
Contributor

There's no way to set this in the queue construct configuration in serverless.yml at the moment.

But you can set DelaySeconds when sending the message using the AWS SDK if you want.

@karrui
Copy link
Author

karrui commented Oct 12, 2021

But you can set DelaySeconds when sending the message using the AWS SDK if you want.

Unfortunately, DelaySeconds do not work on FifoQueue. I guess I'll have to manually set the delay in the AWS console after deployment

@t-richard
Copy link
Contributor

Oh right, otherwise it would mess up with the order. Forgot about that part 😕

@t-richard
Copy link
Contributor

I guess I'll have to manually set the delay in the AWS console after deployment

That's far from ideal. Maybe support for delay could be considered. What do you think @mnapoli @fredericbarthelet ?

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

Successfully merging a pull request may close this issue.

2 participants