Tagged articles
16 articles
Page 1 of 1
Cognitive Technology Team
Cognitive Technology Team
Nov 22, 2025 · Backend Development

Why Some Instances Miss @RefreshScope Updates in Spring Cloud Alibaba + Nacos and How to Fix Them

This article explains why certain machines fail to refresh configuration with @RefreshScope in a Spring Cloud Alibaba and Nacos setup, analyzes the underlying source code, identifies five common root causes, and provides a step‑by‑step troubleshooting guide with best‑practice recommendations.

@RefreshScopeDynamic ConfigurationNacos
0 likes · 8 min read
Why Some Instances Miss @RefreshScope Updates in Spring Cloud Alibaba + Nacos and How to Fix Them
Ray's Galactic Tech
Ray's Galactic Tech
Oct 15, 2025 · Backend Development

How to Dynamically Refresh Spring Boot Config with @RefreshScope – Complete Guide

This guide explains why dynamic configuration refresh is essential in Spring Boot microservices, introduces the @RefreshScope annotation, walks through project setup, code implementation, endpoint usage, advanced scenarios like Spring Cloud Bus and Kubernetes, and provides best practices and troubleshooting tips.

@RefreshScopeSpring Clouddynamic-config
0 likes · 9 min read
How to Dynamically Refresh Spring Boot Config with @RefreshScope – Complete Guide
Cognitive Technology Team
Cognitive Technology Team
Sep 27, 2025 · Backend Development

Why @RefreshScope Returns Stale Data After Refresh and 4 Reliable Fixes

This article explains why Spring Cloud @RefreshScope beans may still return old configuration values after a /actuator/refresh call, analyzes the underlying proxy mechanism, and presents four practical solutions—including ObjectProvider and @ConfigurationProperties—along with pitfalls, validation steps, and performance comparisons.

@RefreshScopeNacosobjectprovider
0 likes · 7 min read
Why @RefreshScope Returns Stale Data After Refresh and 4 Reliable Fixes
Architect's Tech Stack
Architect's Tech Stack
Sep 20, 2025 · Backend Development

How to Dynamically Refresh Spring Boot Configurations with @RefreshScope

This article explains why dynamic configuration refresh is needed in Spring Boot, describes the core principles of @RefreshScope, provides step‑by‑step implementation code, and shares best practices and troubleshooting tips for zero‑downtime configuration updates in production environments.

@RefreshScopeActuatorSpring Boot
0 likes · 10 min read
How to Dynamically Refresh Spring Boot Configurations with @RefreshScope
Architect
Architect
Sep 19, 2025 · Backend Development

How to Refresh Spring Boot Configurations at Runtime with @RefreshScope

This article explains why traditional Java apps require restarts for config changes, introduces Spring Boot's @RefreshScope for zero‑downtime hot‑reloading, details its core principles, provides step‑by‑step implementation, troubleshooting tips, best practices, and advanced use cases for dynamic configuration in production environments.

@RefreshScopeBackend DevelopmentDynamic Configuration
0 likes · 10 min read
How to Refresh Spring Boot Configurations at Runtime with @RefreshScope
Java Tech Enthusiast
Java Tech Enthusiast
Sep 11, 2025 · Backend Development

Refresh Spring Boot Config at Runtime Without Restart

This guide explains how to use Spring Boot's @RefreshScope to dynamically refresh configuration at runtime without restarting services, covering the underlying mechanism, step‑by‑step implementation, production best practices, troubleshooting tips, and advanced use cases.

@RefreshScopeDynamic ConfigurationJava
0 likes · 9 min read
Refresh Spring Boot Config at Runtime Without Restart
Su San Talks Tech
Su San Talks Tech
Sep 8, 2025 · Backend Development

Refresh Spring Boot Configurations at Runtime Without Restart

This guide explains why dynamic configuration refresh is essential, how Spring Boot’s @RefreshScope works, and provides step‑by‑step instructions—including Maven dependencies, Actuator setup, bean creation, and troubleshooting—to update settings on‑the‑fly without restarting the service.

@RefreshScopeSpring Bootruntime refresh
0 likes · 10 min read
Refresh Spring Boot Configurations at Runtime Without Restart
Top Architect
Top Architect
Sep 3, 2025 · Backend Development

How to Refresh Spring Boot Configurations at Runtime with @RefreshScope

This article explains why dynamic configuration refresh is needed in Spring Boot, details the @RefreshScope mechanism, provides step‑by‑step implementation code, and shares best practices and troubleshooting tips for zero‑downtime updates in production environments.

@RefreshScopeDynamic ConfigurationJava
0 likes · 12 min read
How to Refresh Spring Boot Configurations at Runtime with @RefreshScope
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Apr 21, 2025 · Cloud Native

Build a Clean Microservice Config Center with Nacos in One Step

This article walks through using Nacos as a centralized configuration center for Spring Cloud microservices, showing how to create configuration data, set up a Maven client, enable dynamic refresh with @RefreshScope, and manage multi‑environment and multi‑file configurations.

@RefreshScopeCloud NativeConfiguration Center
0 likes · 16 min read
Build a Clean Microservice Config Center with Nacos in One Step
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 15, 2023 · Backend Development

How Spring Cloud Dynamically Refreshes @ConfigurationProperties Beans

This article explains how Spring Cloud discovers classes annotated with @ConfigurationProperties, wraps them into ConfigurationPropertiesBean objects, and dynamically rebinds them at runtime using RefreshScope, EnvironmentChangeEvent, and the RefreshEndpoint actuator, enhancing application flexibility and scalability.

@RefreshScopeConfigurationPropertiesDynamic Refresh
0 likes · 9 min read
How Spring Cloud Dynamically Refreshes @ConfigurationProperties Beans
Code Ape Tech Column
Code Ape Tech Column
May 8, 2023 · Backend Development

Understanding the Implementation and Mechanism of Spring Cloud @RefreshScope for Dynamic Bean Refresh

This article explains the purpose, source code, usage steps, and internal working principle of Spring Cloud's @RefreshScope annotation, showing how it leverages scope proxying, refresh events, and bean cache management to achieve dynamic configuration refresh in microservice applications.

@RefreshScopeDynamic ConfigurationJava
0 likes · 10 min read
Understanding the Implementation and Mechanism of Spring Cloud @RefreshScope for Dynamic Bean Refresh
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 10, 2021 · Backend Development

How Spring Cloud RefreshScope Works: From Annotation to Runtime Refresh

This article explains the inner workings of Spring Cloud's RefreshScope, covering its annotation definition, registration in the auto‑configuration, the refresh endpoint workflow, event handling, and how beans annotated with @ConfigurationProperties or @RefreshScope are dynamically refreshed at runtime.

@RefreshScopeBackend DevelopmentConfiguration Refresh
0 likes · 10 min read
How Spring Cloud RefreshScope Works: From Annotation to Runtime Refresh
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 14, 2021 · Backend Development

Understanding Spring Cloud RefreshScope: How Dynamic Configuration Refresh Works

This article explains the inner workings of Spring Cloud's RefreshScope, detailing its source code, registration process, refresh endpoint activation, event-driven refresh mechanism, and how beans annotated with @RefreshScope or @ConfigurationProperties are dynamically reloaded without restarting the application.

@RefreshScopeConfigurationSpringBoot
0 likes · 11 min read
Understanding Spring Cloud RefreshScope: How Dynamic Configuration Refresh Works
Java Architecture Diary
Java Architecture Diary
Jun 23, 2020 · Backend Development

Fixing @RefreshScope Conflict with @ConditionalOnSingleCandidate in Spring Boot

In Spring Cloud projects, adding @RefreshScope to a custom RabbitMQ ConnectionFactory can clash with @ConditionalOnSingleCandidate, preventing RabbitTemplate from being auto‑wired; this article explains the root cause, demonstrates how to diagnose the issue, and provides a solution to avoid such bean conflicts.

@RefreshScopeBean InjectionConditionalOnSingleCandidate
0 likes · 5 min read
Fixing @RefreshScope Conflict with @ConditionalOnSingleCandidate in Spring Boot