Pan Zhi's Tech Notes
Author

Pan Zhi's Tech Notes

Sharing frontline internet R&D technology, dedicated to premium original content.

33
Articles
0
Likes
0
Views
0
Comments
Recent Articles

Latest from Pan Zhi's Tech Notes

33 recent articles
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
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Apr 16, 2025 · Cloud Native

Quick 3‑Minute Guide to the Full Spring Cloud Alibaba Suite

This article introduces Spring Cloud Alibaba, outlines its key components such as Nacos, Dubbo, Sentinel, RocketMQ and Seata, explains how to manage its versions with Maven, highlights compatibility checks, and compares the first‑ and second‑generation Spring Cloud stacks.

DubboNacosSeata
0 likes · 8 min read
Quick 3‑Minute Guide to the Full Spring Cloud Alibaba Suite
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Apr 11, 2025 · Cloud Native

How to Use Spring Cloud Bus with RabbitMQ for Automatic Config Refresh

This article explains how to integrate Spring Cloud Bus with RabbitMQ (or Kafka) to automatically propagate configuration changes across multiple microservice instances, replacing manual /refresh calls with a message‑bus driven refresh workflow, and provides step‑by‑step implementation details.

Config RefreshRabbitMQSpring Cloud
0 likes · 10 min read
How to Use Spring Cloud Bus with RabbitMQ for Automatic Config Refresh
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Apr 10, 2025 · Backend Development

Hands‑On Guide: Build Your Own Code Generator (Can You Keep Up?)

This article walks through why repetitive CRUD code wastes development time, reviews existing generators like MyBatis‑Generator and MyBatis‑Plus, and then demonstrates step‑by‑step how to create a custom Java code generator using Freemarker, Maven, and SpringBoot, complete with template and demo code.

FreemarkerJavaMyBatis
0 likes · 11 min read
Hands‑On Guide: Build Your Own Code Generator (Can You Keep Up?)
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Mar 19, 2025 · Backend Development

How Spring Cloud Config Works: Build and Use a Service Configuration Center

This article explains why a centralized configuration center is needed for many microservices, introduces Spring Cloud Config, and provides a step‑by‑step tutorial that creates a Git‑backed config server, a client application, and demonstrates dynamic refresh using Spring Boot Actuator.

ActuatorConfiguration CenterDynamic Refresh
0 likes · 12 min read
How Spring Cloud Config Works: Build and Use a Service Configuration Center
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Mar 14, 2025 · Cloud Native

Integrating Hystrix Dashboard with Spring Cloud for Visual Service Circuit Breaker Monitoring – A Hands‑On Guide

This article walks through the background of Hystrix, shows how to add Hystrix Dashboard and Turbine dependencies to a Spring Cloud consumer project, configure the necessary annotations and properties, test the services, and use the dashboard and Turbine streams to visualize circuit‑breaker metrics for both single instances and clusters.

Circuit BreakerHystrixHystrix Dashboard
0 likes · 12 min read
Integrating Hystrix Dashboard with Spring Cloud for Visual Service Circuit Breaker Monitoring – A Hands‑On Guide
Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
Mar 12, 2025 · Cloud Native

Microservices Practice: Hystrix Circuit Breaking and Fallback – Step-by-Step Guide

This article explains the role of Hystrix as a circuit‑breaker in Spring Cloud microservices, describes why service failures can cascade, and provides a detailed, hands‑on implementation—including Maven dependencies, annotations, fallback methods, configuration of circuit thresholds, and integration with Ribbon and Feign – complete with code snippets and test steps.

Circuit BreakerFeignHystrix
0 likes · 11 min read
Microservices Practice: Hystrix Circuit Breaking and Fallback – Step-by-Step Guide