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

Feature Request: Start and stop poller? #147

Open
2 tasks
ashovlin opened this issue Jun 21, 2024 · 0 comments
Open
2 tasks

Feature Request: Start and stop poller? #147

ashovlin opened this issue Jun 21, 2024 · 0 comments
Labels
feature-request A feature should be added or improved. p2 This is a standard priority issue queued xs Effort estimation: tiny

Comments

@ashovlin
Copy link
Contributor

Describe the feature

A potential user reached out internally, looking to pause/resume message handling.

Our mindset when developing this was that the message pump would run for the whole lifecycle of the application as a BackgroundService that would be started by the host.

Use Case

They use case is for a blue/green deployment where they would just like the active slice to be processing messages.

Proposed Solution

We do have some spots in our test code where we're starting at stopping it at will, but I think we'd have to flip the visibility of MessagePumpService from internal to public before users could do something similar.

https://github.com/awslabs/aws-dotnet-messaging/blob/ee29c3dadeaf7c49116727db1d2cf[…]2b9ad853a/test/AWS.Messaging.UnitTests/SQSMessagePollerTests.cs

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

N/A

Targeted .NET Platform

N/A

Operating System and version

N/A

@ashovlin ashovlin added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. needs-review and removed needs-triage This issue or PR still needs to be triaged. labels Jun 21, 2024
@ashishdhingra ashishdhingra added p2 This is a standard priority issue xs Effort estimation: tiny queued and removed needs-review labels Jun 21, 2024
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 xs Effort estimation: tiny
Projects
None yet
Development

No branches or pull requests

2 participants