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

Immediate Dead letter option #165

Open
2 tasks
ed-sparkes opened this issue Nov 5, 2024 · 1 comment
Open
2 tasks

Immediate Dead letter option #165

ed-sparkes opened this issue Nov 5, 2024 · 1 comment
Labels
feature-request A feature should be added or improved. p2 This is a standard priority issue queued

Comments

@ed-sparkes
Copy link

Describe the feature

A way of failing and immediately putting message to configured deadletter queue

Use Case

if in handler code we are able to work out that no amount of retrying will resolve the issue without intervention there is no point wasting the processing retrying the message.

Proposed Solution

some syntactic sugar such as return MessageProcessStatus.ImmediatelyDeadletter();

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS.Messaging (or related) package versions

AWS.Messaging 0.9.2

Targeted .NET Platform

net8.0

Operating System and version

AmazonLinux

@ed-sparkes ed-sparkes added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Nov 5, 2024
@ed-sparkes ed-sparkes changed the title (short issue description) Immediate Dead letter option Nov 5, 2024
@bhoradc bhoradc added p2 This is a standard priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Nov 7, 2024
@bhoradc
Copy link

bhoradc commented Nov 7, 2024

Hello @ed-sparkes,

Thank you for submitting the feature request. The proposed request appears to be a valid one given the use-case.

The implementation approach might need to be adjusted based on the current design and structure of the library. I will review this with the team, and we shall get back to you for further updates.

Regards,
Chaitanya

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. p2 This is a standard priority issue queued
Projects
None yet
Development

No branches or pull requests

2 participants