Spring Cloud Gateway + Eureka makes an amazing combination to scale Spring applications easily in production environments and load balance them effectively.
In this article I will focus on how we could build a simple Spring gateway application and demonstrate how it can perform laod balancing using default round-robbin strategy
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
</dependency>
package com.example.eureka; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication…
In this article I will illustrate how you could build a fault tolerant Spring cloud application using Hystrix circuit breaker pattern. Many people have struggled to setup a standalone Hystrix dashboard for their spring apps. Especially with the new spring cloud (Hoxton.SR8) and Spring boot 2.3.4.RELEASE the stream URLs have changed and break the older version dashboard.
This article will demonstrate how to build a standlone Hystrix dashboard and a central hystrix stream aggregator which collects events via RabbitMQ. In the end of the document there is a link to the working sample.
Love open source stack, passionate about technology.