Sync docs from master to gh-pages

This commit is contained in:
buildmaster
2019-10-21 17:28:10 +00:00
parent 5371d293ce
commit 595ed6e26f
2 changed files with 46 additions and 54 deletions

View File

@@ -154,19 +154,22 @@ $(addBlockSwitches);
<li><a href="#spring-cloud-compatibility-verification">2.10. Spring Cloud Compatibility Verification</a></li>
</ul>
</li>
<li><a href="#spring-cloud-circuit-breaker">3. Spring Cloud Circuit Breaker</a></li>
<li><a href="#introduction">4. Introduction</a>
<li><a href="#spring-cloud-circuit-breaker">3. Spring Cloud Circuit Breaker</a>
<ul class="sectlevel2">
<li><a href="#supported-implementations">4.1. Supported Implementations</a></li>
<li><a href="#introduction">3.1. Introduction</a>
<ul class="sectlevel3">
<li><a href="#supported-implementations">3.1.1. Supported Implementations</a></li>
</ul>
</li>
<li><a href="#core-concepts">5. Core Concepts</a>
<ul class="sectlevel2">
<li><a href="#circuit-breakers-in-reactive-code">5.1. Circuit Breakers In Reactive Code</a></li>
<li><a href="#core-concepts">3.2. Core Concepts</a>
<ul class="sectlevel3">
<li><a href="#circuit-breakers-in-reactive-code">3.2.1. Circuit Breakers In Reactive Code</a></li>
</ul>
</li>
<li><a href="#configuration">6. Configuration</a></li>
<li><a href="#configuration-properties">7. Configuration Properties</a></li>
<li><a href="#configuration">3.3. Configuration</a></li>
</ul>
</li>
<li><a href="#configuration-properties">4. Configuration Properties</a></li>
</ul>
</div>
</div>
@@ -1313,18 +1316,14 @@ of compatible Spring Boot versions.</p>
<div class="sect1">
<h2 id="spring-cloud-circuit-breaker"><a class="anchor" href="#spring-cloud-circuit-breaker"></a><a class="link" href="#spring-cloud-circuit-breaker">3. Spring Cloud Circuit Breaker</a></h2>
<div class="sectionbody">
</div>
</div>
<div class="sect1">
<h2 id="introduction"><a class="anchor" href="#introduction"></a><a class="link" href="#introduction">4. Introduction</a></h2>
<div class="sectionbody">
<div class="sect2">
<h3 id="introduction"><a class="anchor" href="#introduction"></a><a class="link" href="#introduction">3.1. Introduction</a></h3>
<div class="paragraph">
<p>Spring Cloud Circuit breaker provides an abstraction across different circuit breaker implementations.
It provides a consistent API to use in your applications allowing you the developer to choose the circuit breaker implementation that best fits your needs for your app.</p>
</div>
<div class="sect2">
<h3 id="supported-implementations"><a class="anchor" href="#supported-implementations"></a><a class="link" href="#supported-implementations">4.1. Supported Implementations</a></h3>
<div class="sect3">
<h4 id="supported-implementations"><a class="anchor" href="#supported-implementations"></a><a class="link" href="#supported-implementations">3.1.1. Supported Implementations</a></h4>
<div class="ulist">
<ul>
<li>
@@ -1343,10 +1342,8 @@ It provides a consistent API to use in your applications allowing you the develo
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="core-concepts"><a class="anchor" href="#core-concepts"></a><a class="link" href="#core-concepts">5. Core Concepts</a></h2>
<div class="sectionbody">
<div class="sect2">
<h3 id="core-concepts"><a class="anchor" href="#core-concepts"></a><a class="link" href="#core-concepts">3.2. Core Concepts</a></h3>
<div class="paragraph">
<p>To create a circuit breaker in your code you can use the <code>CircuitBreakerFactory</code> API. When you include a Spring Cloud Circuit Breaker starter on your classpath a bean implementing this API will automatically be created for you.
A very simple example of using this API is given below</p>
@@ -1382,8 +1379,8 @@ The <code>Function</code> is the fallback that will be executed if the circuit b
The function will be passed the <code>Throwable</code> that caused the fallback to be triggered.
You can optionally exclude the fallback if you do not want to provide one.</p>
</div>
<div class="sect2">
<h3 id="circuit-breakers-in-reactive-code"><a class="anchor" href="#circuit-breakers-in-reactive-code"></a><a class="link" href="#circuit-breakers-in-reactive-code">5.1. Circuit Breakers In Reactive Code</a></h3>
<div class="sect3">
<h4 id="circuit-breakers-in-reactive-code"><a class="anchor" href="#circuit-breakers-in-reactive-code"></a><a class="link" href="#circuit-breakers-in-reactive-code">3.2.1. Circuit Breakers In Reactive Code</a></h4>
<div class="paragraph">
<p>If Project Reactor is on the class path then you can also use <code>ReactiveCircuitBreakerFactory</code> for your reactive code.</p>
</div>
@@ -1419,10 +1416,8 @@ that caused the failure.</p>
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="configuration"><a class="anchor" href="#configuration"></a><a class="link" href="#configuration">6. Configuration</a></h2>
<div class="sectionbody">
<div class="sect2">
<h3 id="configuration"><a class="anchor" href="#configuration"></a><a class="link" href="#configuration">3.3. Configuration</a></h3>
<div class="paragraph">
<p>You can configure your circuit breakers using by creating beans of type <code>Customizer</code>.
The <code>Customizer</code> interface has a single method called <code>customize</code> that takes in the <code>Object</code> to customize.</p>
@@ -1449,8 +1444,9 @@ the links below</p>
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="configuration-properties"><a class="anchor" href="#configuration-properties"></a><a class="link" href="#configuration-properties">7. Configuration Properties</a></h2>
<h2 id="configuration-properties"><a class="anchor" href="#configuration-properties"></a><a class="link" href="#configuration-properties">4. Configuration Properties</a></h2>
<div class="sectionbody">
<div class="paragraph">
<p>To see the list of all Spring Cloud Commons related configuration properties please check <a href="appendix.html">the Appendix page</a>.</p>