question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Spring Cloud Circuit Breaker Starters

See original GitHub issue

Spring Cloud Circuit Breaker provides starters for a couple different circuit breaker implementations

  • Resilience4J Blocking
  • Resilience4J Reactive
  • Spring Retry

https://github.com/spring-cloud/spring-cloud-circuitbreaker/tree/master/spring-cloud-starter-circuitbreaker

Requirements

To ensure the ongoing health of the Spring Boot community, a starter that is included on start.spring.io must meet the following requirements.

Code of Conduct

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to adhere to this code. If you have not already done so, we also encourage you to adopt a code of conduct in your own project.

Done

Well-established project with a vibrant community

To avoid overwhelming users with too much choice, we aim for each starter to be of interest to a broad range of start.spring.io’s users. One way to ensure this is for each starter to represent a well-established project with a vibrant community.

Please provide some links that provide some evidence for this. We’re looking for things like GitHub stars, multiple contributors, ongoing maintenance, Stack Overflow questions, etc.

Spring Cloud Circuit Breaker will be the replacement for the already extremely popular Hystrix support in Spring Cloud Netflix. https://github.com/spring-cloud/spring-cloud-circuitbreaker

Ongoing maintenance

To ensure that the Spring Boot community has a good experience with your starter, it should be kept up-to-date with the latest Spring Boot releases and maintenenace releases should be shipped as needed. When a new release is made, a pull request should be made to this project to ensure that the Spring Boot community are using the latest version

This will be done as part of the Spring Cloud release train updates

Licence

Please provide details of your project’s licence. If you starter pulls in any dependencies with a different license to the starter’s own licence, please provide details of those dependencies’ licences as well.

Apache 2 license

Issue Tracker URL

To allow users of your starter to contribute and provide feedback, please provide the URL of its issue tracker.

https://github.com/spring-cloud/spring-cloud-circuitbreaker

Continuous integration

To help to ensure the ongoing compatibility of your starter with Spring Boot, please provide a link to the CI jobs that verify its compatibility. Compatibility should be achieved using Spring Boot’s dependency management without overriding.

https://jenkins.spring.io/view/Spring Cloud/view/All Cloud/job/spring-cloud-circuitbreaker-master-ci/ https://circleci.com/gh/spring-cloud/spring-cloud-circuitbreaker

Maven Central

Starters that are included on start.spring.io must be available on Maven Central.

[ X] Starter and all of its dependencies are available on Maven Central.

Configuration metadata

If you starter provides @ConfigurationProperties it should provide metadata for those properties to enable auto-completion in the IDE. Metadata can be provided by adding field level documentation on each of the properties and adding the spring-boot-configuration-processor to your build.

[ ] Starter provides metadata, including documentation, for all its configuration properties.

We have none at the moment.

Version mappings

Spring Initializr allows different versions of a starter to be used with different versions of Spring Boot. For example, if a project is being generated with Spring Boot version W you may want to use Starter version X and if a project is being generated with Spring Boot version Y you may want to use Starter version Z.

Please provide the details of any mappings between particular version of Spring Boot and particular versions of your starter.

This will be managed by the Spring Cloud BOM

Links to additional resources

Each entry can be associated with one or several links. Please provide at least a link to a sample and the reference documentation:

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
ryanjbaxtercommented, Dec 10, 2019

Let me know if this isn’t what you are looking for

  • Resilience4J Non-Blocking - This implementation should be used in a reactive application to provide circuit breakers for non-blocking calls.

  • Resilience4J Blocking - This implementation should be used in non-reactive applications to provide circuit breakers for blocking calls.

0reactions
mbhavecommented, Dec 10, 2019

@ryanjbaxter Can you provide a description that would show up for the Resilience4J Blocking and Resilience4J Non-Blocking entries, please?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Started | Spring Cloud Circuit Breaker Guide
This guide walks you through the process of applying circuit breakers to potentially-failing method calls using Spring Cloud Circuit Breaker.
Read more >
Quick Guide to Spring Cloud Circuit Breaker - Baeldung
In this tutorial, we'll introduce the Spring Cloud Circuit Breaker project and learn how we can make use of it.
Read more >
Spring Cloud Circuit Breaker - Lina Romanelli
The Spring Cloud Circuit Breaker project provides an abstraction API for adding circuit breakers to your application.
Read more >
Implementing Spring Cloud Circuit Breaker with Resilience4j
Unlike Hystrix and Sentinel, Resilience4J needs minimal configuration to get started. To start with, let's add the following dependency in our ...
Read more >
Getting Started · Circuit Breaker - Spring
Spring Cloud Netflix Hystrix looks for any method annotated with the @HystrixCommand annotation and wraps that method in a proxy connected to a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found