Spring Cloud Tutorial


Spring Cloud Tutorial

By Amit K Swain, 10 March, 2018

The rise in popularity of cloud-based architectures and the shift to implementing applications as series of focused microservices developed around bounded contexts has led to the discovery and rediscovery of patterns and techniques used in designing distributed systems.This tutorial is about spring cloud.It aims to provide a complete tutorial series on spring cloud.... Read more ➤

Spring Cloud Hystrix Example

By Dhiraj, 06 March, 2018

In this tutorial, we will be discussing about creating self healing and fault tolerance services with circuit breaker pattern using Netflix Hystrix.We will be discussing about failures in a distributed system and how Netflix spring cloud netflix hystrix helps to create such fault tolerance system using annotations such as @EnableCircuitBreaker, @HystrixCommand. At the end, we will enable hystrix dashboard within our example using @EnableHystrixDashboard... Read more ➤

Spring Netflix Zuul

By Dhiraj, 02 March, 2018

In this tutorial, we will be discussing about how to route in cloud-native apps to different services using spring Netflix zuul proxy.We will have multiple micro-services running and an API gateway that does intelligent routing through a proxy based on the requested resource. We will be also discussing about setting up Zuul Filter to intercept all the request and perform some operations to all the requests that pass through the API gateway.... Read more ➤

Encrypt Decrypt Cloud Config Properties(Symmetric + Asymmetric)

By Dhiraj, 28 February, 2018

In this article we will be discussing about encryption and decryption of configuration property in spring cloud config using symmetric and asymmetric encryption.We will have git store property values defined in encrypted format in the properties file or yml file and the cloud config server will serve those property values after decryption to the client.... Read more ➤

Refresh Property Config at Runtime in Spring Cloud Config

By Dhiraj, 26 February, 2018

In this tutorial series of spring cloud config, we will be discussing about refreshing property configuration at run-time.We will be doing so using spring boot actuator /refresh endpoint. Also, we will take a look into refreshing @Value properties using @RefreshScope annotation.... Read more ➤

Spring Cloud Configuration - Externalize Application Configuration

By Dhiraj, 25 February, 2018

This tutorial is about spring cloud config.Here, we will take a look into how we can manage to serve and store distributed external configurations properties using spring cloud config across applications for diferent environments such as dev, local, prod etc.First we will develop a simple cloud application to externalise application configurations properties using cloud config and then extend the same application to use discovery server to register the application, updating the configuration at runtime and encrypting and decrypting sensitive properties.... Read more ➤

Introduction To Microservices

By Amit Swain, 23 February, 2018

MicroServices or Microservice Architecture is a distinct method of developing and designing software systems. The concept of a microservice originally crept into the software development community‚Äôs consciousness around 2014 and was a direct response to many of the challenges faced with old monlithic architecture.In this post we will focus on the crave of microservices.... Read more ➤

Spring Cloud Netflix Eureka

By Dhiraj, 23 February, 2018

This tutorial is about spring cloud Netflix Eureka. Here, we will be creating eureka discovery server and microservices that will itself register to the discovery server and the client that will use netflix client API to discover the service and consume the microservices exposed by the service with sample example.Hence, we will be developing 3 different spring boot application for each discovery server, service and client.Also, we wil take a look into default eureka dashboard and different useful information available in the dashboard.... Read more ➤