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

Configuring and Using Sentinel Gateway Rate Limiting

Sentinel console source code: https://download.csdn.net/download/yixin605691235/89543923 Sentinel console JAR: https://download.csdn.net/download/yixin605691235/89543931 Modify the application.yml file in the JAR to update the Nacos address for different environments. 1. Gateway Rate Limiting Configuration and Usage 1.1 Nacos Configuraton Cr ...

Posted on Mon, 25 May 2026 20:27:21 +0000 by praeses

Managing Shared and Extended Configuration in Nacos Spring Cloud

Shared and Extended Configuration Support in Nacos In multi-module microservice architectures, common infrastructure settings—such as database connection strings, Redis endpoints, message broker URIs, or observability parameters—are frequently reused across services. To avoid duplication and simplify maintenance, Nacos Config provides two mecha ...

Posted on Wed, 20 May 2026 07:43:03 +0000 by konky

Getting Started with Nacos: Setup and Dynamic Configuration

Installation and Startup Download the Nacos binary from the official GitHub releases page and extract it to a convenient location. Inside the extracted directory, conf/application.properties holds default settings, such as the web port (default 8848) wich typically does not need to be changed. Navigate to the bin folder, open a terminal, and ru ...

Posted on Sat, 16 May 2026 23:27:56 +0000 by 2705ap

Nacos Service Registration, Discovery, and Load Balancing

Start Nacos console Nacos GitHub official address: https://github.com/alibaba/nacos Download the package from the address and extract it to a local directory cd into the bin directory and run startup.cmd -m standalone Access the console address, default username and password nacos Console address: http://localhost:8848/nacos Register service ...

Posted on Thu, 14 May 2026 15:26:58 +0000 by azn_romeo_4u

Quickstart Guide to Integrating Spring Boot with Nacos

Nacos Overview Nacos, derived from Dynamic Naming and Configuration Service, is a platform designed to streamline service discovery, configuration management, and governance in cloud-native environments. It simplifies building, delivering, and managing microservice architectures by offering capabilities for dynamic registration, configuration, ...

Posted on Sat, 09 May 2026 15:50:09 +0000 by Benmcfc