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] aggregation task optimization #887

Open
shuqingzai opened this issue May 27, 2024 · 0 comments
Open

[FEATURE REQUEST] aggregation task optimization #887

shuqingzai opened this issue May 27, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@shuqingzai
Copy link

Is your feature request related to a problem? Please describe.
Several problems were discovered using task aggregation:

  1. There is no error returned in the task aggregation interface. An error return should be added. When a large number of tasks are aggregated, errors will inevitably occur. If the error is returned, this aggregation task should be ignored.

See:

  1. When using the aggregation task function, you cannot set additional options, such as: task delay

See:

if _, err := a.client.EnqueueContext(ctx, aggregatedTask, Queue(qname)); err != nil {

  1. Aggregation capabilities at the queue task level cannot be set, and aggregation can only be set at the server level, which is not very suitable for some complex aggregation requirements.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@shuqingzai shuqingzai added the enhancement New feature or request label May 27, 2024
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

2 participants