Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
8cf581d4
Commit
8cf581d4
authored
Jul 27, 2016
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct description of cloud foundry instance id
Fixes gh-1214
parent
afb43c58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spring-cloud-netflix.adoc
docs/src/main/asciidoc/spring-cloud-netflix.adoc
+3
-3
No files found.
docs/src/main/asciidoc/spring-cloud-netflix.adoc
View file @
8cf581d4
...
...
@@ -215,13 +215,13 @@ Using Spring Cloud you can override this by providing a unique identifier in `eu
----
eureka
:
instance
:
instanceId
:
${
spring
.
application
.
name
}:${
spring
.
application
.
instance_id
:${
random
.
value
}}
instanceId
:
${
spring
.
application
.
name
}:${
vcap
.
application
.
instance_id
:${
spring
.
application
.
instance_id
:${
random
.
value
}
}}
----
With
this
metadata
,
and
multiple
service
instances
deployed
on
localhost
,
the
random
value
will
kick
in
there
to
make
the
instance
unique
.
In
Cloudfoundry
the
`
spring
.
application
.
instance_id
`
will
be
populated
automatically
in
a
Spring
Boot
Actuator
application
,
so
the
unique
.
In
Cloudfoundry
the
`
vcap
.
application
.
instance_id
`
will
be
populated
automatically
in
a
Spring
Boot
application
,
so
the
random
value
will
not
be
needed
.
===
Using
the
EurekaClient
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment