@Override
	public void onApplicationEvent(RefreshScopeRefreshedEvent event) {
		ensureReady();

		// No need to update the rules
		if (Objects.equals(properties, propertiesBackup)) {
			return;
		}

		clearRules();

		// rebind
		configureDefault();
		configureCustom();

		updateBackup();

		LOGGER.info("Sentinel circuit beaker rules refreshed: \n"
				+ prettyPrint(properties.getRules()));
	}
properties backup, prevent rules from being updated every time the container is
refreshed.
spring-cloud-alibaba-starters/spring-cloud-circuitbreaker-sentinel/src/main/java/com/alibaba/cloud/circuitbreaker/sentinel/feign/CircuitBreakerRuleChangeListener.java