Git Product home page Git Product logo

Comments (3)

vbratitsa-plana avatar vbratitsa-plana commented on June 12, 2024

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.

erikbrgr avatar erikbrgr commented on June 12, 2024

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.

vbratitsa-plana avatar vbratitsa-plana commented on June 12, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.