@Bean
    public AlarmService shenyuAlarmService(final ShenyuConfig shenyuConfig, final RestTemplate restTemplate) {
        ShenyuConfig.AlertConfig alertConfig = shenyuConfig.getAlert();
        return new AlarmServiceImpl(restTemplate, alertConfig.getAdmins(), alertConfig.getEnabled());
    }
shenyu alarm service.
@param restTemplate restTemplate
@param shenyuConfig shenyuConfig
@return AlarmService
shenyu-spring-boot-starter/shenyu-spring-boot-starter-gateway/src/main/java/org/apache/shenyu/springboot/starter/gateway/ShenyuConfiguration.java