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
859a79ad
Commit
859a79ad
authored
Jul 18, 2017
by
Tummala Dhanvi (c0mrad3)
Committed by
Spencer Gibb
Jul 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document prefer hostname #2084 (#2092)
parent
6ab27328
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
spring-cloud-netflix.adoc
docs/src/main/asciidoc/spring-cloud-netflix.adoc
+8
-0
No files found.
docs/src/main/asciidoc/spring-cloud-netflix.adoc
View file @
859a79ad
...
...
@@ -487,6 +487,14 @@ of services rather than the hostname. Set `eureka.instance.preferIpAddress`
to `true` and when the application registers with eureka, it will use its
IP Address rather than its hostname.
[TIP]
====
If hostname can'
t
be
determined
by
Java
,
then
IP
address
is
sent
to
Eureka
.
Only
explict
way
of
setting
hostname
is
by
using
`
eureka
.
instance
.
hostname
`.
You
can
set
your
hostname
at
the
run
time
using
environment
variable
,
for
example
`
eureka
.
instance
.
hostname
=${
HOST_NAME
}`.
====
==
Circuit
Breaker
:
Hystrix
Clients
Netflix
has
created
a
library
called
https
://
github
.
com
/
Netflix
/
Hystrix
[
Hystrix
]
that
implements
the
http
://
martinfowler
.
com
/
bliki
/
CircuitBreaker
.
html
[
circuit
breaker
pattern
].
In
a
microservice
architecture
it
is
common
to
have
multiple
layers
of
service
calls
.
...
...
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