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

Integrating Nacos for Service Discovery and Configuration in Spring Boot

Introduction In the landscape of distributed systems, service discovery and centralized configuration management are critical components. Nacos, Alibaba's open-source platform, provides a robust solution for dynamic service discovery and configuration management. This guide demonstrates how to integrate Nacos with a Spring Boot applicasion to m ...

Posted on Sat, 05 Sep 2026 16:29:27 +0000 by gl_itch

Spring Cloud LoadBalancer Implementation Guide

Understanding Load Balancers A load balancer is a network device or software mechanism that distributes incoming network traffic across multiple backend servers, enabling optimal resource utilization while enhancing system availability and performance. Load Balancer Types Load balancing can be categorized into two main types: Server-side load ...

Posted on Sat, 05 Sep 2026 16:15:39 +0000 by derrick24

Nacos Client Configuration Loading Mechanism

Nacos Client Configuration Loading Mechanism The externalized configuration implementation in Nacos is primarily handled by the NacosPropertySourceLocator. This component is responsible for loading configuraton data from Nacos and making it available to the Spring application context. The configuration loading process involves several key steps ...

Posted on Sat, 22 Aug 2026 16:14:47 +0000 by aussie_clint

Service Discovery Mechanisms in Microservices: Nacos, REST, and RPC

Architectural Evolution and Microservices Modern software engineering has transitioned from monolithic architectures, where all components share a single database and deployment unit, to distributed systems. While Service-Oriented Architecture (SOA) abstracted common functionalities into services, Microservices architecture refines this by brea ...

Posted on Fri, 14 Aug 2026 16:54:46 +0000 by keakathleen

Implementing Circuit Breaking and Degradation with Sentinel in Microservices

Circuit breaking is a protective mechanism that triggers specific actions when certain thresholds are exceeded. This concept appears in various domains: Stock market circuit breakers: For example, U.S. equities halt trading for 15 minutes at 7%, 13%, and 20% declines—giving investors time to pause and assess. Electrical fuses: When current ...

Posted on Wed, 22 Jul 2026 16:51:07 +0000 by Leadwing

Managing Configurations in Spring Cloud with Nacos

Nacos offers a centralized configuration service, allowing external management of application properties across all environments while supporting real-time updates without service restarts. Adding Configuration Files in Nacos Begin by creating a configuration entry in the Nacos console. For example, define a file named inventory-service-prod.ya ...

Posted on Sat, 04 Jul 2026 17:29:15 +0000 by maxudaskin

Setting Up Nacos with Spring Cloud Alibaba 2022

Environment Setup Spring Cloud Alibaba 2022 requires Spring Boot 3.0+ and JDK 17 or higher. Check the official documentation for compatibility details. The project structure uses a Maven multi-module setup with the following parent pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apa ...

Posted on Sun, 28 Jun 2026 18:07:30 +0000 by spectacularstuff

Implementing Spring Security Password Flow in a Project

The overall framework is spring-cloud-alibaba-nacos + spring-security + jwt + redis. Authorization Server a. pom.xml for the Authorization Server <!-- Spring Security, OAuth2, and JWT --> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-oauth2</artifactId> ...

Posted on Thu, 18 Jun 2026 17:49:25 +0000 by tachekent

Integrating Seata with Nacos, Spring Cloud Alibaba, and OpenFeign: Resolving Transaction Rollback Failures During Fallback

Integrating distributed transaction management using Seata in a Spring Cloud Alibaba microservices architecture—especially when combined with OpenFeign fallbacks—can be error-prone due to version mismatches, misconfigured registries, missing Nacos configurations, or context propagation issues. This guide provides a working setup for Seata 1.6.1 ...

Posted on Sun, 07 Jun 2026 17:01:01 +0000 by miligraf