[GH-ISSUE #425] Can asynq server add Handler dynamically after server.Run()? #187

Open
opened 2026-03-02 05:19:28 +03:00 by kerem · 4 comments
Owner

Originally created by @realmicro on GitHub (Mar 23, 2022).
Original GitHub issue: https://github.com/hibiken/asynq/issues/425

Can Asynq server add Handler dynamically after server.Run()?

Originally created by @realmicro on GitHub (Mar 23, 2022). Original GitHub issue: https://github.com/hibiken/asynq/issues/425 Can Asynq server add Handler dynamically after server.Run()?
Author
Owner

@hibiken commented on GitHub (Mar 24, 2022):

@realmicro Thank you for creating an issue!

Could you describe your use case in more details?

<!-- gh-comment-id:1077039694 --> @hibiken commented on GitHub (Mar 24, 2022): @realmicro Thank you for creating an issue! Could you describe your use case in more details?
Author
Owner

@realmicro commented on GitHub (Mar 24, 2022):

I wanner to create a distributed delay job center by Asynq.
But I think the job Handler is configurable, maybe can use Golang's Plugin feature, for writing job handler dynamically.
Also just like Redis Pub/Sub is needed. @hibiken

<!-- gh-comment-id:1077210868 --> @realmicro commented on GitHub (Mar 24, 2022): I wanner to create a distributed delay job center by Asynq. But I think the job Handler is configurable, maybe can use Golang's Plugin feature, for writing job handler dynamically. Also just like Redis Pub/Sub is needed. @hibiken
Author
Owner

@hibiken commented on GitHub (Mar 25, 2022):

I'm not 100% sure if I understand your request, but if you want Server to pull tasks off queues that were created dynamically, I'm planning on adding support for that (See #250).

<!-- gh-comment-id:1079491181 --> @hibiken commented on GitHub (Mar 25, 2022): I'm not 100% sure if I understand your request, but if you want Server to pull tasks off queues that were created dynamically, I'm planning on adding support for that (See #250).
Author
Owner

@realmicro commented on GitHub (Mar 26, 2022):

@hibiken Yes, #250 is my request.
I am looking forward to the release V1.0.

<!-- gh-comment-id:1079705173 --> @realmicro commented on GitHub (Mar 26, 2022): @hibiken Yes, #250 is my request. I am looking forward to the release V1.0.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#187
No description provided.