Comments (3)
Hi, I try to create a worker for netflix conductor
this is config for
"ConductorClientSettings": { "ServerUrl": "http://127.0.0.1:8090/api", "WorkerName": "SimpleWorkflow", "MaxSleepInterval": "30000", "SleepInterval": "30000", "Domain": "", "ConcurrentWorkers": "1", "IntervalStrategy": "Linear", "TaskType": "dummy-service", "Priority": null },
Also I tried port: http://127.0.0.1:8080/api
but I have an error No connection could be made because the target machine actively refused it.
could you please suggest me what I do wrong?)
Thank you!
I have some progress if I use port 8080, but I got error 404 for endpoint:
/tasks/poll/dummy-service?workerid=115429d3-607f-45c4-88a0-e84579d331d6
dummy-service is deployed, but worker with id 115429d3-607f-45c4-88a0-e84579d331d6 - not found
from conductor-dotnet-client.
Hi @vbratitsa, I haven't been using this library since I created my own (shameless plug: https://github.com/erikbrgr/supersimpleconductor) but in this aspect they work mostly the same. In your case "dummy-service" is a Task that should be registered with Conductor using their metadata api (/api/metadata/taskdefs). This is probably why you are getting the 404. The workerId is just a parameter telling Conductor which worker process is polling the Task.
Hope this helps!
from conductor-dotnet-client.
Hi @vbratitsa, I haven't been using this library since I created my own (shameless plug: https://github.com/erikbrgr/supersimpleconductor) but in this aspect they work mostly the same. In your case "dummy-service" is a Task that should be registered with Conductor using their metadata api (/api/metadata/taskdefs). This is probably why you are getting the 404. The workerId is just a parameter telling Conductor which worker process is polling the Task.
Hope this helps!
I found solution) In config file I set http://127.0.0.1:8080/api and when I convert it to URL, api was removed, there shoud be '/' after 'api' like http://127.0.0.1:8080/api/ :)
Thanks for your answer!
from conductor-dotnet-client.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conductor-dotnet-client.