mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 18:11:49 +00:00
Update MQ example 8 to use multiple endpoints
This commit is contained in:
committed by
Alexey Rybalchenko
parent
ce47c92d8c
commit
92779e7392
@@ -9,8 +9,8 @@
|
|||||||
"sockets": [
|
"sockets": [
|
||||||
{
|
{
|
||||||
"type": "push",
|
"type": "push",
|
||||||
"method": "bind",
|
"method": "connect",
|
||||||
"address": "tcp://*:5555",
|
"address": "tcp://localhost:5555,tcp://localhost:5556",
|
||||||
"sndBufSize": 1000,
|
"sndBufSize": 1000,
|
||||||
"rcvBufSize": 1000,
|
"rcvBufSize": 1000,
|
||||||
"rateLogging": 0
|
"rateLogging": 0
|
||||||
@@ -21,6 +21,24 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "sink1",
|
"id": "sink1",
|
||||||
|
"channels": [
|
||||||
|
{
|
||||||
|
"name": "data-in",
|
||||||
|
"sockets": [
|
||||||
|
{
|
||||||
|
"type": "pull",
|
||||||
|
"method": "bind",
|
||||||
|
"address": "tcp://*:5555",
|
||||||
|
"sndBufSize": 1000,
|
||||||
|
"rcvBufSize": 1000,
|
||||||
|
"rateLogging": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "sink2",
|
||||||
"channels": [
|
"channels": [
|
||||||
{
|
{
|
||||||
"name": "data-in",
|
"name": "data-in",
|
||||||
@@ -28,7 +46,7 @@
|
|||||||
{
|
{
|
||||||
"type": "pull",
|
"type": "pull",
|
||||||
"method": "connect",
|
"method": "connect",
|
||||||
"address": "tcp://localhost:5555",
|
"address": "@tcp://*:5556",
|
||||||
"sndBufSize": 1000,
|
"sndBufSize": 1000,
|
||||||
"rcvBufSize": 1000,
|
"rcvBufSize": 1000,
|
||||||
"rateLogging": 0
|
"rateLogging": 0
|
||||||
|
Reference in New Issue
Block a user