Tagged articles

Configuration Refresh

4 articles · Page 1 of 1
Ubiquitous Tech
Ubiquitous Tech
Nov 24, 2025 · Backend Development

DynamicTp Startup and Configuration Change Flow: A Deep Dive into Dynamic Thread Pool Design

This article walks through the internal startup sequence and runtime configuration‑change mechanism of the open‑source DynamicTp dynamic thread‑pool, covering Spring Boot starter integration, @EnableDynamicTp annotation processing, Nacos‑driven property refresh, SPI extensibility, queue adaptation, and graceful shutdown, all illustrated with concrete code snippets and diagrams.

Configuration RefreshDynamicTpJava Concurrency
0 likes · 16 min read
DynamicTp Startup and Configuration Change Flow: A Deep Dive into Dynamic Thread Pool Design
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 11, 2024 · Backend Development

How to Dynamically Refresh Spring Boot Configurations at Runtime

This article explains two practical approaches for achieving real‑time external configuration refresh in Spring Boot 2.7, covering a custom ApplicationContextInitializer that periodically updates the Environment and a bean‑refresh technique using ContextRefreshedEvent to rebind @ConfigurationProperties, complete with code examples and testing endpoints.

Backend DevelopmentConfiguration RefreshRefreshScope
0 likes · 9 min read
How to Dynamically Refresh Spring Boot Configurations at Runtime
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
Top Architect
Top Architect
Jun 2, 2021 · Backend Development

Dynamic Array Injection and Configuration Refresh in Spring Cloud

This article explains how to enable Spring Cloud to refresh configuration properties that are arrays, discusses the underlying Spring Environment and BeanFactory mechanisms, and presents a practical trick using a custom PropertySource to achieve dynamic array injection during refresh.

Array InjectionBackend DevelopmentConfiguration Refresh
0 likes · 11 min read
Dynamic Array Injection and Configuration Refresh in Spring Cloud