sohutv / cachecloud

搜狐视频(sohu tv)Redis私有云平台 :支持Redis多种架构(Standalone、Sentinel、Cluster)高效管理、有效降低大规模redis运维成本,提升资源管控能力和利用率。平台提供快速搭建/迁移,运维管理,弹性伸缩,统计监控,客户端整合接入等功能。(CacheCloud is a Redis cloud management platform. It supports Standalone, Sentinel, and Cluster architectures for Redis, effectively reducing large-scale Redis operation and maintenance costs, and improving resource management and utilization. The platform provides rapid construction/migration, operation and maintenance management, elastic scaling, statistical monitoring, client integration and access and other functions)
http://cachecloud.github.io/
Apache License 2.0
8.78k stars 2.04k forks source link

升级到cachecloud 2.1版本后,短信和邮件报警接口失效 #276

Closed beebol closed 2 years ago

beebol commented 2 years ago

升级到cachecloud 2.1后,后台配置的短信和邮件报警接口无法收到报警。 image 之前的版本是可以正常使用的。

wisemeng commented 2 years ago

@beebol 你好 请问下报警接口是怎么实现的 有具体的吗

githubname1024 commented 2 years ago

@beebol 您好。如果是从1.x升级到2.1版本,由于项目模块变更,发送邮件改成更灵活的方式,需要自己实现。可参照1.X版本中cachecloud-open-common模块中的EmailComponentImpl和MobileAlertComponentImpl中的实现,重写2.1版本中的cachecloud-custom模块下的DefaultWeChatComponent和DefaultEmailComponent中对应的方法。 注:手机或邮件告警相关配置常量从ConstUtils转移到AlertUtils类。在拷贝上述实现时,请注意。