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

Centralized Configuration Management and Hot Reloading with Nacos

Nacos functions not only as a service registry but also as a dynamic configuration management server. This capability allows for centralized configuration control, enabling updates to be pushed to multiple services simultaneously without requiring individual modifications or service restarts. When a service starts, it merges local configuration ...

Posted on Thu, 07 May 2026 19:23:50 +0000 by vomitbomb

Load Balancing and Advanced Configuration in Nacos Service Discovery

Nacos clusters organize microservices into logical groups, defaulting to the DEFAULT cluster. Adjust this behavior via the clusterName property in your configuration file: spring: cloud: nacos: discovery: server-addr: 127.0.0.1:8848 username: nacos password: nacos clusterName: SH Services in the same ...

Posted on Thu, 07 May 2026 17:41:58 +0000 by Jyotsna