Submitting work from a different machine #1005
Unanswered
ghostbust555
asked this question in
Q&A
Replies: 0 comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
I am attempting to use workflow-core with azure services. The idea is to have 1-n scalable worker containers that will spin up and do work on demand. Separately, I need a mechanism to queue work without having registered the steps to the queue'er machine. It seems like the azure event pub sub combined with cosmos and blob should make this trivial, but I cannot get it to work.
I have one running exe registered with a hello world workflow (works as expected when called directly)
I have a separate exe that registers the serviceProvider but no workflow. I then call the following which has no effect on the other executable.
`
var host = serviceProvider.GetService();
`
Both exe's are registering with the same azure resources:
services.AddWorkflow(options => { options.UseAzureSynchronization("creds"); options.UseAzureServiceBusEventHub("creds", "testtopic", "test"); options.UseCosmosDbPersistence("creds", "testwf"); });
Beta Was this translation helpful? Give feedback.
All reactions