Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conductor client does not work with spring cloud config #52

Open
arpitrathore opened this issue Mar 8, 2024 · 0 comments
Open

Conductor client does not work with spring cloud config #52

arpitrathore opened this issue Mar 8, 2024 · 0 comments

Comments

@arpitrathore
Copy link

arpitrathore commented Mar 8, 2024

Describe the bug
We are working on an adhoc task workflow. For that we have created a new spring boot service with conductor client. We are using conductor server in docker [orkesio/orkes-conductor-community-standalone:latest].
My service works fine without spring cloud config. It is able to poll for the tasks and execute it. However, when I add spring boot cloud config dependencies, it is able to poll for tasks and hence it does not execute it.

Steps To Reproduce
Steps to reproduce the behavior:
I have created a demo project in my github.

  1. Go to https://github.com/arpitrathore/conductor-cloud-config-test)
  2. Follow the steps in the README to spin up two docker containers. One for spring cloud config and one for conductor server.
  3. Start the service by running the main method in src/main/java/com/arpitrathore/test/Application.java
  4. Run following curl command to submit a task
curl -H 'Content-Type: application/json' http://localhost:8080/submit/ -d '{"someId": 123}'

Notice that the service is NOT able to poll the task and execute it.

  1. Now switch the branch to without-cloud-config. This branch does not have spring cloud dependency. Run the main method in src/main/java/com/arpitrathore/test/Application.java again.
  2. Run following curl command to submit a task
curl -H 'Content-Type: application/json' http://localhost:8080/submit/ -d '{"someId": 123}'

Notice the service is able to poll the task and execute it.

Expected behavior
Service should poll and execute the task with or without spring cloud config dependency

Device/browser

  • OS: Mac OS M1
  • Browser NA
@arpitrathore arpitrathore changed the title Conductor client does work with spring cloud config Conductor client does not work with spring cloud config Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant