https://github.com/ozeer/sloth
延迟队列
https://github.com/ozeer/sloth
delay-queue golang redis
Last synced: 19 days ago
JSON representation
延迟队列
- Host: GitHub
- URL: https://github.com/ozeer/sloth
- Owner: ozeer
- License: mit
- Created: 2022-09-26T06:06:40.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-31T15:15:16.000Z (over 2 years ago)
- Last Synced: 2025-08-18T15:43:18.967Z (5 months ago)
- Topics: delay-queue, golang, redis
- Language: Go
- Homepage:
- Size: 221 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### sloth
延迟队列。
---------------------------------------
#### 使用
方式1(本地调试):
```
go run main.go -c config_dev.ini
或
go build
./sloth -c config_dev.ini
```
方式2(直接以docker运行方式调试):
```
docker-compose up -d
```
#### 特性
* 支持基本的延迟功能
* 资源文件可配置化
* 支持优雅重启
#### Todo
* 支持消息重试机制
* 支持消费功能,目前消息消费逻辑仍然在hhzhome老队列
* 增加prometheus监控功能