Using Feign Client for Declarative REST Calls in Spring Cloud

Feign is a Java-to-HTTP client binder that simplifies the process of making HTTP API calls. Inspired by Retrofix, JAXRS-2.0, and WebSocket technologies, Feign provides a declarative API interface style, making it easier to bind Java HTTP clients to your application logic. Source code: https://github.com/OpenFeign/feign This chapter builds upon ...

Posted on Thu, 05 Nov 2026 16:45:42 +0000 by phpSensei

Delivering Microservice Projects with Spring Boot and Spring Cloud

Microservices Architecture Overview Microservices lack a strict formal definition, but the concept is best understood by contrasting it with traditional monolithic web applications. Monolithic Architecture In a traditional monolithic architecture, such as that found in early taxi-hailing software, all functional modules—passenger management, bi ...

Posted on Fri, 30 Oct 2026 16:45:15 +0000 by mrdeadman

Setting Up and Configuring Nacos for Service Registration

Downloading and Starting Nacos Begin by downloading the Nacos server package from the official GitHub repository: https://github.com/alibaba/nacos/releases/tag/2.1.0 Extract the downloaded archive and execute the startup script. This initiates the Nacos server in standalone mode. Spring Boot Project Configuration In your Spring Boot parent pro ...

Posted on Mon, 12 Oct 2026 16:07:10 +0000 by johanlundin88

Understanding Nacos: Service Discovery, Configuration Management, and Architecture

Introduction to Nacos Nacos is a comprehensive platform designed for building cloud-native applications, offering dynamic service discovery, configuration management, and service governance capabilities. Evolution of Service Discovery Hardcoded HTTP Invocations Directly invoking remote endpoints using HTTP clients requires hardcoded URLs. Any ...

Posted on Wed, 07 Oct 2026 16:14:55 +0000 by sirkodo

Implementing Service Consumers with Feign and Load Balancing with Ribbon in Spring Cloud

Feign Service Consumer Implementation Feign is a declarative web service client that simplifies HTTP API development. It uses annotations to define service interfaces and integrates seamlessly with Spring MVC. Environment Setup Required Components: Java 8+ Spring Boot 2.1.1+ Spring Cloud Finchley+ Dependencies: <dependencies> <de ...

Posted on Tue, 06 Oct 2026 16:53:46 +0000 by thepeccavi

Step-by-Step Guide: Configuring and Running the RuoYi-Cloud Microservice Framework (Vue2 Edition)

Prerequisites This is a personal summary of my experience learning the RuoYi-Cloud framework. There may be errors and omissions. If this fails to help you, please seek assistance from other bloggers. Project File RuoYi-Cloud: 🎉 A distributed microservice architecture permission management system based on Spring Boot, Spring Cloud & Alibab ...

Posted on Thu, 24 Sep 2026 16:34:36 +0000 by theo

Implementing Service Registration and Discovery with Spring Cloud Eureka

Before diving into the implementation, it is helpful to understand why microservices emerged and how they compare to traditional architectures. Previously, monolithic applications were the standard. These applications typically package all features into a single WAR file. Even a minor code change requires a full redeployment. Testing becomes cu ...

Posted on Wed, 23 Sep 2026 16:23:16 +0000 by ashbai

Centralized Configuration and Message Bus in Spring Cloud Microservices

Challenges with Manual Configuration Refresh In a micorservice architecture using Spring Cloud Config, refreshing configuration changes on each client typically requires sending a POST request to the /actuator/refresh endpoint. While this works for a small number of clients, it becomes inefficient and cumbersome as the number of microservices g ...

Posted on Sat, 19 Sep 2026 16:47:04 +0000 by kingpin393

Version Compatibility Matrix for Spring Boot, Spring Cloud, and Spring Cloud Alibaba

Mapping Spring Cloud to Spring Boot The official Spring Cloud project page provides a compatibility overview, but specific version mappings are often buried in the documentation. To find the exact Spring Boot version required by a specific Spring Cloud release: Navigate to the Spring Cloud documentation archive. Select the specific release tra ...

Posted on Sun, 06 Sep 2026 16:53:34 +0000 by Typer999

Managing Distributed Transactions in Spring Cloud Using Seata

Deploy Seata 2.0.0 alongside Nacos 1.4.1 in standalone mode. Begin by initializing the Seata configuration database and importing registry settings into Nacos via sh nacos-config.sh from the source root. After import, verify configurasions appear in the Nacos console. Configure Seata's application.yml to use Nacos for both configuration and ser ...

Posted on Sun, 06 Sep 2026 16:10:48 +0000 by guanche