Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

republish的优化 #7

Closed
chaz6chez opened this issue Aug 8, 2023 · 1 comment
Closed

republish的优化 #7

chaz6chez opened this issue Aug 8, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@chaz6chez
Copy link
Member

现状

  1. republish在极端情况下(ack成功后redis服务宕机)消息可能无法正常republish,从而消息存在丢失可能性

目标

  1. 保障数据

方案

  1. 借助其他方式储存该数据,如sqlite或者file
  2. 使用timer进行republish
@chaz6chez
Copy link
Member Author

timer方案被放弃,因为timer基于内存,进程消亡时依然存在消息丢失的可能

@chaz6chez chaz6chez added the enhancement New feature or request label Aug 24, 2023
chaz6chez added a commit that referenced this issue Nov 23, 2023
close #7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant