Resilience4j Circuit Breaker With Spring boot

What is a Circuit Breaker pattern? The circuit breaker pattern is something that can prevent from repeatedly trying to call a service or a function that will likely fail and save CPU cycles. It is pretty common for a software service to call remote software service and the remote service can fail or not respond…… Continue reading Resilience4j Circuit Breaker With Spring boot

Tracing With Spring Sleuth And Zipkin For Micro Services

As microservice architecture has become a standard for all the latest distributed systems, the tracing of the calls from one microservice to others has been a challenging thing for a while. To solve this Sprig Cloud introduced Spring Sleuth which borrows heavily from dapper. Spring sleuth adds traceID and spanID to the logs so it…… Continue reading Tracing With Spring Sleuth And Zipkin For Micro Services

Netflix Eureka Server And Client Setup With Spring Boot

Overview We will set up a Eureka server (service registry used to register multiple services/microservices).We will set up multiple Eureka clients(REST services that register to Eureka Server).We will do client-side load balancing and service discovery through Eureka. Setting up Eureka Server The dependency required to set up a eureka server is “spring-cloud-starter-netflix-eureka-client” along with spring-boot-starter-parent.…… Continue reading Netflix Eureka Server And Client Setup With Spring Boot