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
56ccc46f
Commit
56ccc46f
authored
Jul 09, 2017
by
Ryan Baxter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added documentation
parent
ff339057
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
spring-cloud-netflix.adoc
docs/src/main/asciidoc/spring-cloud-netflix.adoc
+8
-1
No files found.
docs/src/main/asciidoc/spring-cloud-netflix.adoc
View file @
56ccc46f
...
...
@@ -11,6 +11,10 @@
include
::
intro
.
adoc
[]
==
HTTP
Clients
==
Service
Discovery
:
Eureka
Clients
Service
Discovery
is
one
of
the
key
tenets
of
a
microservice
based
architecture
.
Trying
to
hand
configure
each
client
or
some
form
of
convention
can
be
very
difficult
to
do
and
can
be
very
brittle
.
Eureka
is
the
Netflix
Service
Discovery
Server
and
Client
.
The
server
can
be
configured
and
deployed
to
be
highly
available
,
with
each
server
replicating
state
about
the
registered
services
to
the
others
.
...
...
@@ -1012,6 +1016,7 @@ Spring Cloud Netflix provides the following beans by default for feign (`BeanTyp
*
`
Client
`
feignClient
:
if
Ribbon
is
enabled
it
is
a
`
LoadBalancerFeignClient
`,
otherwise
the
default
feign
client
is
used
.
The
OkHttpClient
and
ApacheHttpClient
feign
clients
can
be
used
by
setting
`
feign
.
okhttp
.
enabled
`
or
`
feign
.
httpclient
.
enabled
`
to
`
true
`,
respectively
,
and
having
them
on
the
classpath
.
You
can
customize
the
HTTP
client
used
by
providing
a
bean
of
either
`
ClosableHttpClient
`
when
using
Apache
or
`
OkHttpClient
`
whe
using
OK
HTTP
.
Spring
Cloud
Netflix
_does
not_
provide
the
following
beans
by
default
for
feign
,
but
still
looks
up
beans
of
these
types
from
the
application
context
to
create
the
feign
client
:
...
...
@@ -1536,7 +1541,9 @@ path rendering the `users` path unreachable.
The default HTTP client used by zuul is now backed by the Apache HTTP Client instead of the
deprecated Ribbon `RestClient`. To use `RestClient` or to use the `okhttp3.OkHttpClient` set
`ribbon.restclient.enabled=true` or `ribbon.okhttp.enabled=true` respectively.
`ribbon.restclient.enabled=true` or `ribbon.okhttp.enabled=true` respectively. If you would
like to customize the Apache HTTP client or the OK HTTP client provide a bean of type
`ClosableHttpClient` or `OkHttpClient`.
=== Cookies and Sensitive Headers
...
...
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