Home » Tag Archives: Spring Cloud

Tag Archives: Spring Cloud

Secure Reactive Microservices with Spring Cloud Gateway

spring-interview-questions-answers

Friends don’t let friends write user auth. Tired of managing your own users? Try Okta’s API and Java SDKs today. Authenticate, manage, and secure users in any application within minutes. So you wanna go full reactive, eh? Great! Reactive programming is an increasingly popular way to make your applications more efficient. Instead of making a call to a resource and ...

Read More »

Java Microservices with Spring Cloud Config and JHipster

spring-interview-questions-answers

Friends don’t let friends write user auth. Tired of managing your own users? Try Okta’s API and Java SDKs today. Authenticate, manage, and secure users in any application within minutes. Developing a microservice architecture with Java and Spring Boot is quite popular these days. It’s definitely one of the most popular combinations in the Java ecosystem. If you need any ...

Read More »

Functional Hystrix using Spring Cloud HystrixCommands

spring-interview-questions-answers

Spring’s WebClient provides a non-blocking client for making service to service calls.Hystrix, though now in a maintenance mode, has been used for protecting service to service calls by preventing cascading failures, providing circuit breakers for calls to slow or faulty upstream services. In this post, I will be exploring how Spring Cloud provides a newer functional approach to wrapping a ...

Read More »

Secure Service-to-Service Spring Microservices with HTTPS and OAuth 2.0

spring-interview-questions-answers

“I love writing authentication and authorization code.” ~ No Java Developer Ever. Tired of building the same login screens over and over? Try the Okta API for hosted authentication, authorization, and multi-factor auth. Building a microservices architecture is possible with minimal code if you use Spring Boot, Spring Cloud, and Spring Cloud Config. Package everything up in Docker containers and ...

Read More »

Introduction to Spring Cloud – Config (Part I)

java-interview-questions-answers

1. Overview Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, one-time tokens, global locks, leadership election, distributed sessions, cluster state). It helps manage the complexity involved in building the distributed system. 2. Microservices Microservices is a software development architectural ...

Read More »

Spring Cloud Gateway – Configuring a simple route

spring-interview-questions-answers

Spring Cloud Gateway can be considered a successor to the Spring Cloud Netflix Zuul project and helps in implementing a Gateway pattern in a microservices environment. It is built on top of Spring Boot 2 and Spring Webflux and is non-blocking end to end – it exposes a Netty based server, uses a Netty based client to make the downstream microservice calls and ...

Read More »

Refresh Property Config at Runtime in Spring Cloud Config

spring-interview-questions-answers

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. In my last tutorial of spring cloud config, we set up a cloud config service with discovery server and ...

Read More »

MicroServices – Part 5 : Spring Cloud Zuul Proxy as API Gateway

spring-interview-questions-answers

In microservices architecture, there could be a number of API services and few UI components that are talking to APIs. As of now, many microservices based application still use monolithic front-ends where the entire UI is built as a single module. You may choose to go with micro-frontends where the UI is also decomposed into multiple microservice talking to APIs ...

Read More »