Merged
Conversation
实现RabbitMQ连接的多channel管理,提高并发性能和资源利用率 - 新增create_channel/close_channel/list_channels等接口 - 支持在队列操作中指定使用特定channel - 保持原有API的向后兼容性 - 添加多channel使用示例和测试用例
在发送消息失败时添加重连延迟等待,避免频繁重试 修复队列声明参数,明确设置durable为false
简化消息消费逻辑,直接使用传入的回调函数而非包装器 移除冗余的异常处理,由调用方自行控制消息确认行为 添加 to_tuple 参数以明确消费模式
为RabbitMQStore类添加连接断开时的自动重试机制,包括: - 消费过程中连接断开时的自动重连 - 指数退避策略控制重试间隔 - 优雅处理各种异常情况 - 新增shutdown标志控制消费循环 同时添加两个示例脚本用于测试RabbitMQ连接弹性: - example_simple_resilience.py 简单测试脚本 - example_resilience_test.py 完整弹性测试套件
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.