st2 icon indicating copy to clipboard operation
st2 copied to clipboard

Assign action to specific worker

Open DesireWithin opened this issue 1 year ago • 5 comments

Stackstorm is a powerful platform, But can we assign action to specific worker just like jenkins does?

DesireWithin avatar Jun 03 '24 03:06 DesireWithin

I found a history feature request from a few years ago: https://github.com/StackStorm/st2/issues/3096.

DesireWithin avatar Jun 03 '24 03:06 DesireWithin

afaik this is not supported, at least yet.

fdrab avatar Jun 19 '24 14:06 fdrab

this feature is really needed

zhenglisai avatar Aug 13 '24 08:08 zhenglisai

contributions to the codebase are welcome :) I would also appreciate a remote-worker like this, but this is a complex topic I think.

fdrab avatar Aug 15 '24 08:08 fdrab

i think this is not very complex, we can use multy rabbitmq queue to do this. action or workflow add a queue name as param(emply will use default queue), then the scheduler send this task to specific queue. st2actionrunner accpet a queue name param, to process default queue and paramed queue.

zhenglisai avatar Aug 15 '24 08:08 zhenglisai