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

[FeatureRequest] Queue Binding Poison Queue Time to Live #891

Open
ajstewart opened this issue Apr 12, 2024 · 4 comments
Open

[FeatureRequest] Queue Binding Poison Queue Time to Live #891

ajstewart opened this issue Apr 12, 2024 · 4 comments
Assignees

Comments

@ajstewart
Copy link

It would be nice to be able to set the "time_to_live" property of a queue message that is being sent to the poison queue by the queue trigger.

At the moment it is the default 7 days and preferably I'd like to set the poison messages to have no expiry (e.g. time_to_live = -1)

@bhagyshricompany bhagyshricompany self-assigned this Apr 16, 2024
@bhagyshricompany
Copy link

Thanks for reporting .will check and update.

@hallvictoria
Copy link

Transferring to the Queue extension repo to see if they can look into this -- adding / setting a time_to_live property in the Queue Message object.

In the meantime, using the azure.storage.queue sdk (specifically QueueClient.update_message() ) might help unblock your situation.

@hallvictoria hallvictoria transferred this issue from Azure/azure-functions-python-worker Apr 25, 2024
@JAdluri
Copy link

JAdluri commented Jan 15, 2025

Hello @ajstewart Please let me know if the issue still exists

@ajstewart
Copy link
Author

To my knowledge, no, you can't set the time to live when using the queue binding in Azure Functions. I don't see anything on the docs that suggests you now can.

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

4 participants