Open marinakr opened 4 months ago
That is correct. We can’t differentiate the nodes.
If you have a good idea how to do that, please open a PR. Otherwise you‘ll have to implement a custom strategy for your project that chooses from the correct nodes.
Btw: The option global
no longer exists.
Hi there, I have few applications running in cluster which able to call each other Assume I have apps
api-server
,intergation-server
I have quantum used in appintergation-server
I have few nodes ofapi-server
and few nodesintergation-server
inintergation-server
config, I have settings in configNodes visible in
:intergation-server
:I can see job (for application
intergation-server
) is triggering once in few hours, I assume nodes of another application (api-server
) included in whenQuantum.RunStrategy.Random
select node to runNode list gets all nodes available: https://github.com/quantum-elixir/quantum-core/blob/main/lib/quantum/run_strategy/random.ex#L46