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

Notification on request_id eligibility for a token #162

Open
JimTharioAmazon opened this issue Jun 1, 2022 · 0 comments
Open

Notification on request_id eligibility for a token #162

JimTharioAmazon opened this issue Jun 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@JimTharioAmazon
Copy link
Member

JimTharioAmazon commented Jun 1, 2022

Send an event via EventBridge when request_ids become eligible for a token.
This will require some type of evaluation each time the serving counter is changed.
We may want to consider using EventBridge patterns and batching the notification when multiple request_ids are ready.

Listeners may want several filters on the events:

  • All eligible request_ids
  • Filters on one or more specific request_ids

Should this be related to #154 where another event is sent when a request_id's eligibility for a token has expired? This is because in many cases the window of time to obtain a token isn't open-ended and that available capacity can be used by another client in line.

@JimTharioAmazon JimTharioAmazon added the enhancement New feature or request label Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant