Tag

Spring Cloud

0 views collected around this technical thread.

Java Captain
Java Captain
Jun 12, 2025 · Backend Development

How to Securely Encrypt Nacos Config Passwords in Spring Cloud Applications

Learn how to replace plain‑text passwords in Spring Cloud’s Nacos configuration with encrypted values by extending NacosConfigProperties, overriding its initialization, and registering a custom bootstrap auto‑configuration, ensuring your application complies with corporate security policies.

ConfigurationJavaNacos
0 likes · 5 min read
How to Securely Encrypt Nacos Config Passwords in Spring Cloud Applications
Code Ape Tech Column
Code Ape Tech Column
May 30, 2025 · Backend Development

Dynamic Feign Client: Building a Generic Service Invocation Layer in Spring Cloud

This article explains how to replace numerous static Feign client interfaces with a single dynamic Feign client that can invoke any microservice endpoint at runtime by specifying the service name, URL, and parameters, simplifying code and reducing boilerplate in Spring Cloud applications.

BackendDynamic ClientJava
0 likes · 5 min read
Dynamic Feign Client: Building a Generic Service Invocation Layer in Spring Cloud
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.

BackendSpring BootSpring Cloud
0 likes · 10 min read
What’s New in Spring Cloud 2025.0.0? Major Updates and Migration Guide
Java Captain
Java Captain
May 29, 2025 · Cloud Native

Advanced Nacos: Service Cluster Setup, Configuration Loading Order, and Common Issues

This guide explains how to build a Nacos service cluster, configure providers and consumers, write the necessary Spring Cloud Nacos YAML and Java controller code, detail the steps for setting up multiple Nacos nodes, and troubleshoot typical startup errors.

ClusterConfigurationJava
0 likes · 7 min read
Advanced Nacos: Service Cluster Setup, Configuration Loading Order, and Common Issues
Top Architect
Top Architect
May 26, 2025 · Backend Development

Implementing Gray (Canary) Release in Spring Cloud with Nacos and Custom Load Balancer

This article explains how to implement gray (canary) release in a Spring Cloud project using Nacos for service discovery, custom request headers, ThreadLocal gray flags, Spring Cloud Gateway filters, custom Ribbon load balancer rules, and provides full code snippets, configuration steps, and deployment instructions.

Canary DeploymentNacosSpring Cloud
0 likes · 20 min read
Implementing Gray (Canary) Release in Spring Cloud with Nacos and Custom Load Balancer
Selected Java Interview Questions
Selected Java Interview Questions
Apr 18, 2025 · Cloud Native

One‑Click Deployment of Spring Cloud Microservices Using Jenkins, Docker, and Kubernetes

This guide walks through a complete one‑click Jenkins pipeline that pulls Spring Cloud source code from Git, builds it with Maven, packages the JAR into a Docker image, pushes the image to a registry, and finally deploys or updates the service on Kubernetes, covering SSH‑key setup, pipeline scripting, and Kubernetes resource definitions.

CI/CDDockerJenkins
0 likes · 16 min read
One‑Click Deployment of Spring Cloud Microservices Using Jenkins, Docker, and Kubernetes
Cognitive Technology Team
Cognitive Technology Team
Apr 16, 2025 · Backend Development

Automatic Trace-Wrapped ThreadPool Instances in Spring Cloud

This article explains how Spring Cloud automatically wraps managed thread pool beans with trace-enabled proxies to preserve distributed tracing information, details the ExecutorBeanPostProcessor implementation, shows the relevant configuration and instrumentation code, and notes that manually created executors must be wrapped manually.

InstrumentationJavaSpring Cloud
0 likes · 7 min read
Automatic Trace-Wrapped ThreadPool Instances in Spring Cloud
Cognitive Technology Team
Cognitive Technology Team
Apr 15, 2025 · Backend Development

Using Traceable Thread Pools in Spring Cloud to Preserve Trace Context

This article explains why and how to enforce the use of trace‑aware thread pools in Spring Cloud, presenting three approaches—including TraceableExecutorService, Tracer.currentTraceContext().wrap, and TraceCallable/TraceRunnable—to prevent loss of distributed tracing information in multithreaded applications.

JavaSleuthSpring Cloud
0 likes · 4 min read
Using Traceable Thread Pools in Spring Cloud to Preserve Trace Context
Code Ape Tech Column
Code Ape Tech Column
Mar 28, 2025 · Backend Development

Applying the Adapter Pattern for Multi‑Cloud OSS Storage in a Spring Microservice

This article demonstrates how to use the Adapter pattern to abstract multiple OSS providers such as MinIO and Aliyun in a Spring microservice, configure the concrete adapters via Nacos dynamic configuration, and expose a unified upload API through a service and controller layer, complete with deployment and testing steps.

Adapter PatternJavaNacos
0 likes · 10 min read
Applying the Adapter Pattern for Multi‑Cloud OSS Storage in a Spring Microservice
Architecture Digest
Architecture Digest
Mar 27, 2025 · Backend Development

Comparison of Java Microservice Frameworks and a Free Programmer Book Giveaway

This article introduces a free collection of programmer books and provides a detailed comparison of several Java microservice frameworks—including Spring Cloud, Vert.x, SparkJava, Micronaut, Javalin, and Quarkus—covering their resource consumption, startup times, memory usage, and suitability for lightweight or heavy‑weight applications.

BackendJavaSpring Cloud
0 likes · 6 min read
Comparison of Java Microservice Frameworks and a Free Programmer Book Giveaway
macrozheng
macrozheng
Mar 26, 2025 · Backend Development

Master Multi‑Tenant Architecture with Spring Boot & Spring Cloud

This article explains the concept, advantages, design choices, and step‑by‑step implementation of a multi‑tenant architecture using Spring Boot and Spring Cloud, covering database design, tenant isolation, dynamic routing, and deployment scenarios for SaaS and enterprise applications.

JavaSpring BootSpring Cloud
0 likes · 14 min read
Master Multi‑Tenant Architecture with Spring Boot & Spring Cloud
Architect's Guide
Architect's Guide
Mar 20, 2025 · Backend Development

Implementing a Lightweight Service Registry with Eureka for Task Distribution

This article describes how to build a lightweight service registry using Eureka Server that also acts as a client, enabling a task dispatcher to discover and load‑balance task executor instances without deploying a separate registry, including Maven dependencies, Spring annotations, Feign client definitions, and troubleshooting steps.

EurekaService DiscoverySpring Cloud
0 likes · 11 min read
Implementing a Lightweight Service Registry with Eureka for Task Distribution
Architect's Guide
Architect's Guide
Mar 4, 2025 · Backend Development

Implementing Multi‑Tenant Architecture with Spring Boot and Spring Cloud

This article explains the concepts, advantages, design choices, database strategies, and step‑by‑step implementation of a multi‑tenant system using Java Spring Boot and Spring Cloud, including code samples for data sources, dynamic routing, and tenant management in cloud environments.

JavaSpring BootSpring Cloud
0 likes · 13 min read
Implementing Multi‑Tenant Architecture with Spring Boot and Spring Cloud
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.

BackendConfiguration RefreshJava
0 likes · 7 min read
Master Dynamic Configuration Refresh in Spring Cloud Without Nacos – Step‑by‑Step Guide
Architect's Guide
Architect's Guide
Jan 9, 2025 · Backend Development

Investigation and Resolution of Random Nacos Service Deregistration in a Spring Cloud Alibaba Microservice Cluster

This article details a week‑long investigation of intermittent Nacos service deregistration in a Spring Cloud Alibaba microservice environment, describing the background architecture, multiple hypothesis tests, diagnostic commands, kernel version mismatch, and the final fix by upgrading the Linux kernel.

Linux kernelNacosSpring Cloud
0 likes · 7 min read
Investigation and Resolution of Random Nacos Service Deregistration in a Spring Cloud Alibaba Microservice Cluster
Architecture Digest
Architecture Digest
Jan 3, 2025 · Operations

Designing High‑Availability Architecture with Rate Limiting, Circuit Breaking, and Degradation Strategies

This article explains how to build a highly available distributed e‑commerce system by using load‑balancing, redundant servers, rate‑limiting techniques, circuit‑breaker patterns, and graceful degradation methods, and provides concrete Spring Cloud and Java code examples for each strategy.

BackendDistributed SystemsHigh Availability
0 likes · 18 min read
Designing High‑Availability Architecture with Rate Limiting, Circuit Breaking, and Degradation Strategies
Selected Java Interview Questions
Selected Java Interview Questions
Dec 13, 2024 · Backend Development

Implementing Multi‑Tenant Architecture with Spring Boot and Spring Cloud

This article explains the concept, advantages, and technical choices of multi‑tenant architecture, then details a design using Spring Boot and Spring Cloud, covering database strategies, deployment isolation, tenant management, code examples, and step‑by‑step implementation for SaaS applications.

Database DesignSpring BootSpring Cloud
0 likes · 13 min read
Implementing Multi‑Tenant Architecture with Spring Boot and Spring Cloud
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 13, 2024 · Backend Development

How @RefreshScope Dynamically Refreshes Beans in Spring Boot

This article explains the purpose and inner workings of Spring Boot's @RefreshScope annotation, showing how it creates proxy and target beans, the proxy generation process, and how the /actuator/refresh endpoint triggers a full refresh of scoped beans at runtime.

Bean RefreshJavaRefreshScope
0 likes · 9 min read
How @RefreshScope Dynamically Refreshes Beans in Spring Boot
Java Architecture Diary
Java Architecture Diary
Dec 4, 2024 · Cloud Native

Spring Cloud 2024.0.0 (Moorgate) Release: New Features, Quick Start & Maven Setup

Spring Cloud 2024.0.0 (Moorgate) has been released, built on Spring Boot 3.4.0, introducing enhancements across Gateway, CircuitBreaker, OpenFeign, Commons, Config, and Kubernetes modules, along with performance improvements, new configuration options, and a quick-start guide showing Maven dependency management for the updated platform.

JavaMavenSpring Boot 3.4
0 likes · 5 min read
Spring Cloud 2024.0.0 (Moorgate) Release: New Features, Quick Start & Maven Setup
macrozheng
macrozheng
Dec 3, 2024 · Backend Development

Simplify Feign Calls in Local Development with Custom URL Routing

This article explains how to streamline OpenFeign usage during local development by configuring custom URL routing, detailing the underlying Feign mechanism, creating a custom ImportBeanDefinitionRegistrar, and providing step‑by‑step code examples, testing procedures, and best‑practice recommendations.

Custom Bean RegistrationLocal DevelopmentOpenFeign
0 likes · 15 min read
Simplify Feign Calls in Local Development with Custom URL Routing