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] Create basic taskqueue provider #1693

Closed
YourTechBud opened this issue Jun 18, 2023 · 1 comment
Closed

[Feature] Create basic taskqueue provider #1693

YourTechBud opened this issue Jun 18, 2023 · 1 comment
Labels
enhancement New feature or request p/high Candidate for being included in the upcoming release
Milestone

Comments

@YourTechBud
Copy link
Collaborator

YourTechBud commented Jun 18, 2023

The problem faced currently?

No way to schedule and track asynchronous tasks.

How can we solve it?

  • Make a taskqueue provider with pluggable backends (redis streams, sqs, etc.).
    • For now make a RedisSource that we can use in here.
  • It will have the following endpoints:
    • /sc/v1/tasks/{queueName}/fetch
      • Get list of tasks for that queue
      • By default it will return the number of tasks configured in the TaskQueue Resource. But have the ability to override the number of tasks via an query param limit
    • /sc/v1/tasks/{queueName}/ack/{id}
      • marks a task as complete or failed
    • /sc/v1/tasks/{queueName}/status
      • Gets number of pending tasks in queue
      • Gets number of tasks being processed

If you want this feature to be implemented, give it a thumbs up reaction, so that we can determine which features are important to you.
👍

@YourTechBud YourTechBud added enhancement New feature or request p/high Candidate for being included in the upcoming release labels Jun 18, 2023
@YourTechBud YourTechBud added this to the v0.22.0 milestone Jun 18, 2023
@YourTechBud
Copy link
Collaborator Author

Added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p/high Candidate for being included in the upcoming release
Projects
Status: Done
Development

No branches or pull requests

1 participant