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

- instanceId is now set from requested metadata if not specified explicitly #153

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

awilke-verint
Copy link

I'm currently trying to integrate a NodeJS App into a Spring Cloud Gateway which usually only handles Java Services registered with Eureka. I noticed, that in order to work correctly the instanceId of the instance i want to register needs to be on par with the instanceId of the dataCenter's metadata.

To solve this, I modified the addInstanceMetadata() function to set the instanceId based on the metadataResult, if no id for the instance was specified manually.

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

Successfully merging this pull request may close these issues.

1 participant