Tagged articles
56 articles
Page 1 of 1
Coder Trainee
Coder Trainee
Apr 25, 2026 · Cloud Native

How to Expose Spring Cloud Microservices to Frontends with Spring Cloud Gateway

This article explains why a gateway is needed in a Spring Cloud microservice architecture, compares Spring Cloud Gateway with Zuul, introduces its core concepts of routes, predicates, and filters, and provides step‑by‑step code examples for dependency setup, configuration, custom authentication and logging filters, rate limiting, circuit breaking, troubleshooting tips, and a complete gateway configuration for a blog system.

Spring Bootapi-gatewaycircuit breaker
0 likes · 14 min read
How to Expose Spring Cloud Microservices to Frontends with Spring Cloud Gateway
Java Architecture Diary
Java Architecture Diary
May 30, 2025 · Backend Development

What’s New in Spring Cloud 2025.0.0? Major Updates and Migration Guide

Spring Cloud 2025.0.0 "Northfields" was released on May 29, 2025, fully compatible with Spring Boot 3.5.0, bringing major enhancements to core microservice components, new Gateway features, Config AWS‑S3 support, Kubernetes config source integration, CircuitBreaker reactive isolation, Eureka client upgrades, and a detailed upgrade guide for developers.

BackendMicroservicesspring-boot
0 likes · 10 min read
What’s New in Spring Cloud 2025.0.0? Major Updates and Migration Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 24, 2025 · Backend Development

Master Dynamic Configuration Refresh in Spring Cloud Without Nacos – Step‑by‑Step Guide

This article walks you through configuring Spring Cloud for dynamic property updates, covering dependency setup, enabling bootstrap, defining configuration properties, exposing a refresh endpoint, and listening to EnvironmentChangeEvent, all illustrated with complete code snippets and screenshots.

BackendJavaconfiguration-refresh
0 likes · 7 min read
Master Dynamic Configuration Refresh in Spring Cloud Without Nacos – Step‑by‑Step Guide
Architecture Digest
Architecture Digest
Jul 10, 2024 · Backend Development

Implementing Internal‑Only API Access with Gateway, Redis Whitelist, and AOP in Spring Cloud

The article explains three approaches for restricting certain APIs to internal service calls—microservice isolation, a gateway‑plus‑Redis whitelist, and a gateway‑plus‑AOP solution—then provides step‑by‑step Spring Cloud code to add a public‑source header, define an AOP aspect with a custom annotation, and annotate internal‑only endpoints.

API Securitygatewayspring-cloud
0 likes · 6 min read
Implementing Internal‑Only API Access with Gateway, Redis Whitelist, and AOP in Spring Cloud
Top Architect
Top Architect
Jul 2, 2024 · Backend Development

Token Transmission and Unified Authorization Strategies in Microservices

The article discusses the drawbacks of token pass‑through authentication in microservices, recommends explicit userId parameter passing, compares unified authorization approaches using Spring Cloud Gateway with Feign or Dubbo, and explores non‑unified and Kubernetes‑integrated deployment patterns for backend services.

BackendDubbospring-cloud
0 likes · 13 min read
Token Transmission and Unified Authorization Strategies in Microservices
Sanyou's Java Diary
Sanyou's Java Diary
Jun 11, 2024 · Cloud Native

Mastering Microservices: From Monolith to Scalable Cloud‑Native Architecture

This comprehensive guide explains what microservices are, why they evolved from monolithic applications, the challenges they introduce, popular open‑source solutions such as Dubbo, Spring Cloud Netflix and Spring Cloud Alibaba, and essential components like service registries, configuration centers, remote‑call mechanisms, load‑balancing, circuit‑breakers, tracing, and monitoring for building resilient cloud‑native systems.

ConfigurationMicroservicescircuit-breaker
0 likes · 44 min read
Mastering Microservices: From Monolith to Scalable Cloud‑Native Architecture
Java Architecture Diary
Java Architecture Diary
Aug 14, 2023 · Cloud Native

Explore Spring Cloud 2023.0 (Leiden) Milestone: New Features & Maven Setup

Spring Cloud 2023.0 (Leiden) milestone, built on Spring Boot 3.2, introduces updated dependencies, repository configurations, and early support for MVC Server in Spring Cloud Gateway, enhanced Kafka Streams handling in Spring Cloud Stream, Java HttpClient in OpenFeign, and upgraded Kubernetes integration, with source code and deployment links provided.

Microservicescloud-nativemaven
0 likes · 6 min read
Explore Spring Cloud 2023.0 (Leiden) Milestone: New Features & Maven Setup
Programmer DD
Programmer DD
Jul 29, 2023 · Cloud Native

What’s New in Spring Cloud 2022.0.4? Key Updates and Migration Tips

Spring Cloud 2022.0.4 has been released on Maven Central, built on Spring Boot 3.0.9, and introduces major changes such as discontinued CLI and Cloudfoundry support, migration of Sleuth to Micrometer Tracing, numerous OpenFeign and Netflix updates, plus a full list of updated modules and their versions.

cloud-nativerelease-notesspring-boot
0 likes · 6 min read
What’s New in Spring Cloud 2022.0.4? Key Updates and Migration Tips
Java Architecture Diary
Java Architecture Diary
Jul 29, 2023 · Backend Development

What’s New in Spring Cloud 2022.0.4? Key Changes and Upgrade Guide

Spring Cloud 2022.0.4, built on Spring Boot 3.0.9, introduces module version updates, deprecations, and configuration changes—including discontinued components, migration to Micrometer Tracing, OpenFeign enhancements, and a detailed dependencyManagement snippet—for developers upgrading their microservice platforms.

Microservicesbackend-developmentcloud-native
0 likes · 6 min read
What’s New in Spring Cloud 2022.0.4? Key Changes and Upgrade Guide
Code Ape Tech Column
Code Ape Tech Column
Apr 17, 2023 · Backend Development

Implementing Microservice-Level Authorization with Custom Annotations in Spring Cloud Alibaba

This article explains how to shift authentication and authorization from the gateway to downstream microservices in a Spring Cloud Alibaba environment by removing the gateway's ReactiveAuthorizationManager, creating three custom annotations (@RequiresLogin, @RequiresPermissions, @RequiresRoles), defining an AOP aspect to enforce them, and demonstrating their usage with Feign calls.

Custom Annotationsspring-cloudspring-security
0 likes · 9 min read
Implementing Microservice-Level Authorization with Custom Annotations in Spring Cloud Alibaba
Code Ape Tech Column
Code Ape Tech Column
Dec 23, 2022 · Cloud Native

Overview of Popular Microservice Technology Stack and Governance Frameworks

This article presents a comprehensive overview of widely adopted microservice technology stacks, including governance frameworks like Apache Dubbo and Spring Cloud Alibaba, CI/CD tools, container orchestration, and various application services, while also offering practical selection guidance for developers and product teams.

Kubernetescloud-nativeservice governance
0 likes · 12 min read
Overview of Popular Microservice Technology Stack and Governance Frameworks
Top Architect
Top Architect
Aug 22, 2022 · Backend Development

Comprehensive Guide to Microservice Architecture, Spring Cloud, Dubbo, and Distributed System Practices

This article provides an in‑depth overview of microservice architecture, covering concepts such as RPC, serialization, CAP and BASE theories, distributed transaction patterns like TCC, service monitoring with Sleuth and ELK, high‑availability strategies, load balancing, configuration management, Dubbo fault‑tolerance clusters, timeout handling, service registration and discovery, communication protocols, AOP fundamentals, Spring annotations, JdbcTemplate and RestTemplate usage, transaction management, and the inner workings of Spring Boot starters.

BackendDubbodistributed-systems
0 likes · 39 min read
Comprehensive Guide to Microservice Architecture, Spring Cloud, Dubbo, and Distributed System Practices
Java Architect Essentials
Java Architect Essentials
Aug 7, 2022 · Cloud Native

Comparing Spring Cloud, Kubernetes, and Istio: Architectural Trade‑offs and Service‑Mesh Migration

The article examines the evolution from monolithic to distributed systems, contrasts Spring Cloud with Kubernetes and Istio, explains how service‑mesh concepts like sidecar proxies decouple business logic from infrastructure, and discusses migration paths and the advantages of non‑intrusive, language‑agnostic platforms.

IstioService Meshcloud-native
0 likes · 9 min read
Comparing Spring Cloud, Kubernetes, and Istio: Architectural Trade‑offs and Service‑Mesh Migration
macrozheng
macrozheng
Aug 2, 2022 · Cloud Native

Master Spring Cloud LoadBalancer: From RestTemplate to OpenFeign

This tutorial walks through replacing Ribbon with Spring Cloud LoadBalancer, showing how to configure dependencies, set up RestTemplate and OpenFeign clients, customize caching and request transformation, and verify load‑balanced calls using Nacos as the service registry.

MicroservicesNacosOpenFeign
0 likes · 10 min read
Master Spring Cloud LoadBalancer: From RestTemplate to OpenFeign
Architecture Digest
Architecture Digest
Jun 28, 2022 · Cloud Native

Spring Cloud Tencent: An Overview of Its Features and Architecture

Spring Cloud Tencent integrates Tencent's Polaris platform to provide a comprehensive, out‑of‑the‑box microservice solution for Spring Boot and Spring Cloud users, covering service registration, configuration management, routing, rate limiting, circuit breaking, and proximity routing, while emphasizing low‑cost, high‑efficiency, and stable architecture for Java enterprises.

Microservicescircuit-breakerconfiguration-management
0 likes · 16 min read
Spring Cloud Tencent: An Overview of Its Features and Architecture
Programmer DD
Programmer DD
Jun 24, 2022 · Backend Development

Unlock Spring Cloud Tencent: A One‑Stop Microservice Solution on Polaris

Spring Cloud Tencent, open‑sourced on June 14, offers a comprehensive, Spring‑compatible microservice suite built on Tencent's Polaris platform, providing service discovery, configuration, routing, rate limiting, and circuit breaking, while explaining its motivations, core capabilities, and future roadmap for Java developers.

Config CenterMicroservicescircuit-breaker
0 likes · 19 min read
Unlock Spring Cloud Tencent: A One‑Stop Microservice Solution on Polaris
Cognitive Technology Team
Cognitive Technology Team
Apr 25, 2022 · Backend Development

Enforcing Traceable Thread Pools in Spring Cloud to Preserve Trace Context

This article explains how to prevent loss of tracing information in Spring Cloud by using traceable thread pools, detailing three approaches: wrapping an ExecutorService with TraceableExecutorService, using Tracer.currentTraceContext().wrap, and employing TraceCallable/TraceRunnable for context propagation.

Sleuthbackend-developmentspring-cloud
0 likes · 4 min read
Enforcing Traceable Thread Pools in Spring Cloud to Preserve Trace Context
Java Architect Essentials
Java Architect Essentials
Apr 20, 2022 · Information Security

Critical Spring Cloud Gateway Vulnerabilities CVE-2022-22946 and CVE-2022-22947: Description, Impact, and Mitigation

This article explains the two high‑severity Spring Cloud Gateway vulnerabilities (CVE‑2022‑22946 and CVE‑2022‑22947), detailing their descriptions, affected versions, exploitation conditions, and provides concrete remediation steps such as upgrading to safe releases or disabling the vulnerable actuator endpoints.

CVE-2022-22946CVE-2022-22947Java
0 likes · 5 min read
Critical Spring Cloud Gateway Vulnerabilities CVE-2022-22946 and CVE-2022-22947: Description, Impact, and Mitigation
Top Architect
Top Architect
Mar 6, 2022 · Backend Development

Resolving Duplicate Access‑Control‑Allow‑Origin Header Issues in Spring Cloud Gateway

This article explains why Spring Cloud Gateway can return duplicate Access‑Control‑Allow‑Origin and Vary headers during CORS handling, analyzes the underlying processing flow, and provides two practical solutions—using DedupeResponseHeader configuration or implementing a custom GlobalFilter—to ensure a single, correct header is sent to the client.

BackendCORSduplicate-header
0 likes · 10 min read
Resolving Duplicate Access‑Control‑Allow‑Origin Header Issues in Spring Cloud Gateway
Java Architecture Diary
Java Architecture Diary
Dec 17, 2021 · Backend Development

What’s New in Spring Cloud 2020.0.5? Detailed Release Notes and Component Versions

Spring Cloud 2020.0.5, a bug‑fix release compatible with Spring Boot 2.4.x and 2.5.x, introduces updated components such as Netflix/Eureka 1.10.17, new Config support for HTTPS proxy and AWS/Redis/CredHub, enhanced Gateway metrics, Kubernetes client proxy, OpenFeign pagination, and Vault token handling, with a full component version list.

backend-developmentcloud-nativerelease-notes
0 likes · 4 min read
What’s New in Spring Cloud 2020.0.5? Detailed Release Notes and Component Versions
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 30, 2021 · Cloud Native

How to Dynamically Manage Sentinel Rules with File-Based DataSource in Spring Cloud

This guide explains how to configure Alibaba Sentinel to load flow‑control, degradation, and system rules from files using a custom AutoRefreshDataSource in a Spring Cloud Alibaba project, covering API methods, pull/push data source modes, Maven setup, YAML settings, rule JSON examples, and Java implementation details.

Dynamic Configurationsentinelspring-cloud
0 likes · 12 min read
How to Dynamically Manage Sentinel Rules with File-Based DataSource in Spring Cloud
Yang Money Pot Technology Team
Yang Money Pot Technology Team
Jun 10, 2021 · Cloud Native

Understanding Feign: How Spring Cloud Netflix Implements Declarative HTTP Clients, Hystrix Integration, and Client‑Side Load Balancing

This article explains the purpose and inner workings of Feign in Spring Cloud Netflix, covering how it creates dynamic proxy objects for declarative HTTP calls, integrates with Hystrix for circuit‑breaker support, and works with Ribbon for client‑side load balancing within microservice architectures.

HTTP clientHystrixMicroservices
0 likes · 20 min read
Understanding Feign: How Spring Cloud Netflix Implements Declarative HTTP Clients, Hystrix Integration, and Client‑Side Load Balancing
Top Architect
Top Architect
May 24, 2021 · Backend Development

Understanding Hystrix: Service Isolation, Circuit Breaking, and Monitoring in Spring Cloud

This article explains why Hystrix is needed for fault tolerance in distributed systems, describes its key features such as circuit breaking, thread and semaphore isolation, fallback mechanisms, request collapsing, and monitoring, and provides step‑by‑step configuration examples and code snippets for integrating Hystrix into Spring Cloud microservices.

HystrixResiliencecircuit-breaker
0 likes · 18 min read
Understanding Hystrix: Service Isolation, Circuit Breaking, and Monitoring in Spring Cloud
IT Architects Alliance
IT Architects Alliance
May 12, 2021 · Backend Development

Key Components and Practical Setup of a Spring Cloud + Nginx Microservice Architecture

This article explains the main components of a Spring Cloud‑Nginx architecture, version compatibility between Spring Cloud and Spring Boot, essential middleware such as Eureka, Nacos, Zuul and Redis, environment preparation on CentOS, and the structure of the crazy‑springcloud scaffolding used for a high‑performance seckill demo.

DevOpsMicroservicesNginx
0 likes · 20 min read
Key Components and Practical Setup of a Spring Cloud + Nginx Microservice Architecture
Java Architect Essentials
Java Architect Essentials
Aug 23, 2020 · Backend Development

Understanding Spring Cloud Microservice Architecture: Service Governance, Discovery, and Core Components

This article introduces Spring Cloud as a Spring Boot‑based microservice framework, explains the fundamentals of service architecture through an illustrative story, and details essential components such as service registry, discovery, load balancing, circuit breaking, configuration management, messaging bus, and tracing, accompanied by practical code examples.

BackendMicroservicescircuit-breaker
0 likes · 12 min read
Understanding Spring Cloud Microservice Architecture: Service Governance, Discovery, and Core Components
Alibaba Cloud Native
Alibaba Cloud Native
Jul 15, 2020 · Cloud Native

Why Microservices Aren’t a Silver Bullet: Real‑World Architecture Lessons

This article explores the true meaning of software architecture, emphasizing non‑functional requirements, the practical benefits and hidden costs of microservices, the strengths and limitations of Spring Cloud, and the challenges of adopting service‑mesh solutions like Istio in cloud‑native environments.

Microservicescloud-nativeservice-mesh
0 likes · 23 min read
Why Microservices Aren’t a Silver Bullet: Real‑World Architecture Lessons
Java Captain
Java Captain
Jun 26, 2020 · Backend Development

Comprehensive Guide to Spring Cloud Components: Eureka, Ribbon, OpenFeign, Hystrix, Zuul, Config, and Bus

This article provides a detailed overview of Spring Cloud's core modules—including service discovery with Eureka, client‑side load balancing via Ribbon, declarative REST calls with OpenFeign, circuit breaking with Hystrix, API gateway features of Zuul, centralized configuration with Config, and message broadcasting with Bus—complete with explanations, diagrams, and code examples for building resilient microservice architectures.

Microservicesspring-cloud
0 likes · 26 min read
Comprehensive Guide to Spring Cloud Components: Eureka, Ribbon, OpenFeign, Hystrix, Zuul, Config, and Bus
Java Architecture Diary
Java Architecture Diary
Feb 12, 2020 · Cloud Native

Explore the Latest Spring Cloud Alibaba Upgrades: Core Dependencies & New Features

Spring Cloud Alibaba’s latest release upgrades core dependencies like Spring Cloud Hoxton, Seata, Sentinel, and Dubbo, introduces numerous enhancements such as new health indicators, reactive discovery, refined configuration handling, and adds Nacos and Sentinel components to Spring Initializr for easier project generation.

AlibabaMicroservicescloud-native
0 likes · 3 min read
Explore the Latest Spring Cloud Alibaba Upgrades: Core Dependencies & New Features
Java Architecture Diary
Java Architecture Diary
Nov 25, 2019 · Backend Development

Why Does ApplicationContextInitializer Run Twice? Debugging Spring Boot Startup

This article explains the purpose of ApplicationContextInitializer in Spring Boot, shows how to implement custom conditions and initializers for environment‑specific configuration, and investigates why the initializer may execute twice when Spring Cloud Context is added, leading to bean duplication and port conflicts.

ApplicationContextInitializercustom-conditionspring-boot
0 likes · 5 min read
Why Does ApplicationContextInitializer Run Twice? Debugging Spring Boot Startup
Programmer DD
Programmer DD
May 22, 2019 · Cloud Native

How to Sync Sentinel Dashboard Rules to Nacos: Step‑by‑Step Guide

This article walks through modifying Sentinel Dashboard so that rule changes are automatically synchronized to Nacos, detailing six implementation steps, required pom changes, UI adjustments, custom Nacos configuration classes, rule provider/publisher beans, and final integration tweaks.

DashboardNacossentinel
0 likes · 7 min read
How to Sync Sentinel Dashboard Rules to Nacos: Step‑by‑Step Guide
Programmer DD
Programmer DD
Apr 29, 2019 · Cloud Native

How to Register a Spring Cloud App to Multiple Service Registries Without Startup Errors

This article explains why a Spring Cloud application cannot register with multiple service registries by default, analyzes the startup failure caused by duplicate AutoServiceRegistration beans, and provides a step‑by‑step solution using configuration and auto‑configuration exclusion to enable successful multi‑registry registration.

multiple-registriesservice-discoveryspring-boot
0 likes · 11 min read
How to Register a Spring Cloud App to Multiple Service Registries Without Startup Errors
Java Architecture Diary
Java Architecture Diary
Apr 23, 2019 · Backend Development

How to Propagate OAuth2 Tokens Across Feign Calls in Spring Cloud

This article explains how to implement token propagation between microservices in a Spring Cloud OAuth2 environment by configuring a Feign interceptor, parsing relevant source code, handling token extraction and relay, and addressing common pitfalls such as missing tokens and thread isolation issues.

feignspring-cloudtoken-propagation
0 likes · 5 min read
How to Propagate OAuth2 Tokens Across Feign Calls in Spring Cloud
Java Backend Technology
Java Backend Technology
Dec 9, 2018 · Backend Development

Why Extending Timeouts in Spring Cloud Can Crash Your System (And How to Fix It)

The article examines a real‑world Spring Cloud microservice case where naive timeout extensions mask deep performance issues, explains how massive data growth and complex SQL cause thread‑pool exhaustion, and provides step‑by‑step optimizations—including query refactoring, proper timeout settings, retries, and idempotency—to restore stability under high concurrency.

MicroservicesRibbonScalability
0 likes · 10 min read
Why Extending Timeouts in Spring Cloud Can Crash Your System (And How to Fix It)
Programmer DD
Programmer DD
Nov 3, 2018 · Backend Development

Explore Spring Cloud Alibaba: New Open‑Source Components for Java Microservices

Spring Cloud Alibaba, an open‑source project from Alibaba, has launched its first preview version, offering Java developers integrated service discovery, configuration management, high‑availability protection, and seamless Alibaba Cloud product components, all built on Spring Boot and Spring Cloud patterns.

Alibabacloud-nativespring-boot
0 likes · 6 min read
Explore Spring Cloud Alibaba: New Open‑Source Components for Java Microservices
Java Backend Technology
Java Backend Technology
Oct 1, 2018 · Backend Development

Demystifying Spring Cloud: From Clusters to Service Discovery and Beyond

This tutorial walks through the fundamentals of distributed systems—explaining clusters, distributed architecture, the CAP theorem, and then dives deep into Spring Cloud components such as Eureka, Ribbon, Hystrix, Feign, Zuul, and Config, illustrating how they solve real‑world microservice challenges.

CONFIGMicroservicesRibbon
0 likes · 29 min read
Demystifying Spring Cloud: From Clusters to Service Discovery and Beyond
Programmer DD
Programmer DD
Aug 21, 2017 · Backend Development

How to Build a Spring Cloud Zuul Service Gateway Step‑by‑Step

This guide walks you through constructing a Spring Cloud Zuul gateway, covering the shortcomings of exposing services directly, the required preparations, Maven dependencies, application code, YAML configuration, automatic route creation, and how to verify the gateway’s behavior.

service gatewayspring-bootspring-cloud
0 likes · 8 min read
How to Build a Spring Cloud Zuul Service Gateway Step‑by‑Step
Programmer DD
Programmer DD
Dec 22, 2016 · Backend Development

Enable Automatic Retries for Spring Cloud Ribbon Calls

This guide explains how to configure Spring Cloud Ribbon with @LoadBalanced RestTemplate to add client‑side load balancing and a robust retry mechanism that automatically re‑issues failed requests across service instances.

LoadBalancingRetrySpring Retry
0 likes · 4 min read
Enable Automatic Retries for Spring Cloud Ribbon Calls