
QueueMove 是一个简单的工作程序,旨在实现在 Rabbit MQ 队列之间移动消息的功能。它能够连接源队列和目标队列,将消息从源队列传输到目标队列,适用于需要在不同 Rabbit MQ 队列间迁移消息的场景。
适用于需要在 Rabbit MQ 队列间迁移消息的场景,例如:
bashdocker run --name queue-move -d \ -e OriginQueueConnectionString="amqp://user:password@localhost:5672/current-vh" \ -e OriginQueueName=my-demo-queue \ -e DestinationQueueConnectionString="amqp://user:password@localhost:5672/other-vh" \ -e DestinationExchangeName=my-other-exchange \ -e DestinationQueueName=my-other-queue \ -e StopWhenEmpty=false \ thiagobarradas/queue-move:latest
通过设置环境变量来配置 QueueMove:
| 环境变量 | 类型 | 必填 | 描述 | 示例 |
|---|---|---|---|---|
OriginQueueConnectionString | string | 是 | 源 Rabbit MQ 连接字符串 | amqp://user:pass@localhost:5672/current-vh |
OriginQueueName | string | 是 | 源队列名称 | some-queue |
DestinationQueueConnectionString | string | 是 | 目标 Rabbit MQ 连接字符串 | amqp://user:pass@localhost:5672/other-vh |
DestinationExchangeName | string | 否 | 目标交换机名称 | other-exchange |
DestinationQueueName | string | 否 | 目标队列名称 | other-queue |
StopWhenEmpty | bool | 否 | 当源队列为空(0 条消息)时是否停止工作程序 | false |
https://github.com/ThiagoBarradas/queue-move
如果你喜欢这个项目,请考虑进行***,帮助维持这个和其他项目的开发。可以通过以下 BTC 地址发送一些:
BTC ***:1G535x1rYdMo9CNdTGK3eG6XJddBHdaqfX
!***

探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务