An open API service indexing awesome lists of open source software.

https://github.com/raphaelbh/simple-circuit-breaker

Project for implementation of simple circuit breaker.
https://github.com/raphaelbh/simple-circuit-breaker

circuit-breaker circuit-breaker-pattern docker kotlin microservice resilience4j springboot

Last synced: 2 months ago
JSON representation

Project for implementation of simple circuit breaker.

Awesome Lists containing this project

README

        

# README Template

[![Project Status](https://img.shields.io/static/v1?label=project%20status&message=complete&color=success&style=flat-square)](#)

Project for implementation of simple circuit breaker.

## Requirements

[![docker](https://img.shields.io/badge/Docker-2CA5E0?style=for-the-badge&logo=docker&logoColor=white)](https://www.docker.com/)

## Installation

```bash
# build
$ (cd application && ./mvnw clean install)

# run
$ docker-compose up -d
```

## Usage

```bash
$ curl http://localhost:8080/circuit-breaker?delay=1000
```

## Tech Stack

[![docker](https://img.shields.io/badge/Docker-2CA5E0?style=for-the-badge&logo=docker&logoColor=white)](https://www.docker.com/)
[![kotlin](https://img.shields.io/badge/Kotlin-0095D5?&style=for-the-badge&logo=kotlin&logoColor=white)](https://kotlinlang.org/)
[![springboot](https://img.shields.io/badge/Spring_Boot-F2F4F9?style=for-the-badge&logo=spring-boot)](https://spring.io/projects/spring-boot)

## Reference

- https://microservices.io/patterns/reliability/circuit-breaker.html
- https://spring.io/guides/gs/cloud-circuit-breaker
- https://www.baeldung.com/spring-cloud-circuit-breaker
- https://resilience4j.readme.io/docs/circuitbreaker

## Feedback

If you have any feedback, please contact me at [email protected]

[![github](https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white)](https://github.com/raphaelbh)
[![linkedin](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/raphaelbh/)