# inf-queue **Repository Path**: andox1963/inf-queue ## Basic Information - **Project Name**: inf-queue - **Description**: No description available - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-10-30 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # inf-queue #### 介绍 延时任务队列 参考有赞设计(使用redis zset集合) 使用 zookeeper作为名称服务器 强依赖redis 依赖zookeeper, redis. 1. 使用多个redis zset, 服务端自动负载均衡 2. 客户端tcp连接所有服务端, 服务端随机挑选客户端执行job 3. 客户端根据zookeeper注册信息定时subscribe服务端 已开发: 1. 发送job到服务端 2. 服务端回调客户端执行job 3. consumer acknowledge job 待开发: 1. 客户端执行超时处理 2. 对执行失败的任务重新发送给客户端(根据客户端设置的retrypolicy) 3. 对retrypolicy反复失败的任务报警 #### 软件架构 软件架构说明 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request