Implementation of MP FT 2.1.1 using FT SE (#2348)

* Replacing FailSafe and Hystrix by our own implementation of FT primitives. Some minor changes to our first version of these primitive operations was necessary to be fully compatible with MP and pass all the TCKs.

Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
This commit is contained in:
Santiago Pericasgeertsen
2020-09-14 13:20:46 -04:00
committed by GitHub
parent ec0a12600d
commit 74956be772
63 changed files with 1705 additions and 2820 deletions

View File

@@ -51,8 +51,8 @@ public class FtService implements Service {
.name("helidon-example-bulkhead")
.build();
this.breaker = CircuitBreaker.builder()
.volume(10)
.errorRatio(20)
.volume(4)
.errorRatio(40)
.successThreshold(1)
.delay(Duration.ofSeconds(5))
.build();