Adam Bien's Weblog

A 6KB Circuit Breaker For Java EE Released

breakr v0.0.2 was released.

...and now you can close the circuit:

public class Brittle {

    @IgnoreCallsWhen(failures = 2,slowerThanMillis = 10)
    public void unstableAndSlow(){

    public void reset() {}

breakr is available in maven central as 6KB, no dependency jar:


Also checkout for 16KB implementation of bulkheads and handshaking.

See you at Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home:

NEW workshop: HTML 5 and JavaScript Essentials, Three days in April 2017: from Java EE 7 Architectures over Microservices to Performance, Troubleshooting and Monitoring
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.


A book about rethinking Java EE Patterns


Hi Adam,

Shouldn't be the circuit opened to interrupt current ? ;)


Posted by Emmanuel on November 27, 2015 at 11:00 AM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
Online Workshops
...the last 150 posts
...the last 10 comments