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

Create new Task Manager plugin APIs focused on ad-hoc and recurring tasks #205828

Open
mikecote opened this issue Jan 8, 2025 · 1 comment
Open
Labels
discuss Feature:Task Manager Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@mikecote
Copy link
Contributor

mikecote commented Jan 8, 2025

We should create dedicated ad-hoc and recurring task manager plugin APIs that are simple for developers to use. We should research what other scheduling and queueing system name their APIs and settle on naming with the team before implementing.

Examples:

  • Deprecate schedule API in favour of a new createRecurringTask() and createAdHocTask() API. The API can take a parameter to determine if it should throw if the task already exists.
  • Deprecate bulkSchedule API in favour of a new createRecurringTaskBulk() and createAdHocTaskBulk() API

Using the same prefix can make it easier to navigate the APIs in an IDE using a typeahead. Splitting the APIs between AdHoc and Recurring will allow us to make explicit task shapes for each (ex: no schedule property for ad-hoc tasks, etc)

@mikecote mikecote added discuss Feature:Task Manager Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Jan 8, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Feature:Task Manager Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
Development

No branches or pull requests

2 participants