A tool to configure proxying rules for NSQ topics between different NSQ clusters.
1.1K
A tool to configure proxying rules for NSQ topics between different NSQ clusters.
Create a configuration for your proxy (required).
Start your NSQ proxy service.
docker run \
--rm \
-e GOAPP_ENV=prd \
-v $(pwd)/configs/prd.nsq-proxy.json:/etc/mandalore/prd.nsq-proxy.json \
vredens/nsq-proxy \
/bin/nsq-proxy
{
"log": {
"mode": "json",
"level": "info"
},
"default_channel_name": "nsq-proxy-to-dev",
"routes" [
{
"source": {
"nsqd": ["10.0.0.1:4150"],
"topic": "topic-to-proxy-from"
},
"destination": {
"nsqd": ["127.0.0.1:4150"],
"topic": "topic-to-proxy-to"
}
},
{
"source": {
"lookupd": ["10.0.0.1:4160"],
"topic": "topic-to-proxy-from",
"channel": "nsq-proxy-to-bob",
"max_attempts": 10
},
"destination": {
"lookupd": ["127.0.0.1:4150"],
"topic": "bobs-topic"
}
}
]
}
Content type
Image
Digest
Size
3.5 MB
Last updated
almost 9 years ago
docker pull vredens/nsq-proxy