https://hub.docker.com/r/byteblogs/easy-retry
https://gitee.com/aizuda/easy-retry
https://github.com/aizuda/easy-retry
https://www.easyretry.com/
docker run -d --name cron -p 8080:8080 -p 1788:1788 --restart=always -v /etc/localtime:/etc/localtime:ro --privileged=true --user=root -e TZ='Asia/Shanghai' --ulimit nofile=262144:262144 -v /data/file:/data/file/ --link mariadb -e PARAMS="--easy-retry.db-type=mysql --spring.datasource.username=root --spring.datasource.password=wdqdmm@r --spring.datasource.url=jdbc:mysql://mariadb:3306/htmltoocron?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai --spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver" --link mariadb byteblogs/easy-retry:2.4.0
http://g.htmltoo.com:8080
什么是id生成模式
由于easy retry是分布式的系统,任务表也是采用分表模式,所以为了更好的标记重试任务的唯一性,easy retry使用业内比较成熟的分布式id生成算法生成uniqueId
目前支持一下id生成算法
号段模式: 采用业界成熟的美团开源的分布式ID生成器(leaf) (opens new window)的号段模式
雪花算法: 使用hutool自带的雪花算法生成id,若出现时间回拨问题则直接报错
#什么是初始化场景
为了更简单方便的使用EasyRetry,我们支持了场景默认初始化功能.
若选择【是】:当未查询到场景时默认生成一个场景(退避策略: 等级策略, 最大重试次数: 21);
若选择【否】:新增场景时必须先配置场景,否则上报失败
签名:这个人很懒,什么也没有留下!