Pan Zhi's Tech Notes
Pan Zhi's Tech Notes
May 6, 2025 · Backend Development

Persist Sentinel Rate‑Limiting Rules with Nacos to Prevent Loss After Restart

The article explains why Sentinel rate‑limiting rules disappear after a client restart, demonstrates how to store those rules permanently in Nacos by creating a JSON configuration, adding a Nacos data source to the Sentinel client, and modifying the Sentinel Dashboard source code to achieve bidirectional synchronization, followed by verification steps.

Backend DevelopmentNacosRate limiting
0 likes · 14 min read
Persist Sentinel Rate‑Limiting Rules with Nacos to Prevent Loss After Restart
Ops Development Stories
Ops Development Stories
May 25, 2021 · Backend Development

Persist Sentinel Rules to Nacos: Step-by-Step Configuration Guide

Learn how to persist Alibaba Sentinel flow control rules in Nacos by adding the necessary Maven dependency, configuring the datasource in application.yml, setting up rule data in the Nacos console, and verifying the rules via the Sentinel dashboard, with code snippets and screenshots.

NacosRule PersistenceSentinel
0 likes · 4 min read
Persist Sentinel Rules to Nacos: Step-by-Step Configuration Guide