[zeromq-dev] How to write a malamute to malamute bridge?

Pieter Hintjens ph at imatix.com
Sat Oct 24 12:56:59 CEST 2015


Right, one stream is usually one application. So you bridge individual
streams, not bunches of them. If you're using many streams in one
application you're doing it wrong...

On Sat, Oct 24, 2015 at 12:44 PM, Miao Lin <miaolin71 at gmail.com> wrote:
> "It's a problem I'm thinking of working on... you could do this
> manually by consuming from one broker and republishing to another."
>
>
> It is what I am doing. but problem is , when I republishing message to
> another, I must use a bunch of producer, each producer can only publish
> message to one stream, I want to know if is possible to use only one
> producer publish to many stream?
>
>
> Thank you .
>
> best
>
> Miao
>
>
> 2015-10-23 20:47 GMT+08:00 Miao Lin <miaolin71 at gmail.com>:
>>
>> Hi:
>>     I am trying to build a small malamute cluster, suppose to write a
>> bridge app connect to 2 malamute instances, copy message from one malamute
>> to another and visa verse.
>>
>>      problem is , I can listen to all streams through one listener, but I
>> can not send message to different streams via one connection, in malamute
>> api, seems I have to bind the connection to a certain stream before send
>> message.
>>
>>      That means I have to use a lot of connections to send message, each
>> connection for only one stream.
>> Are there any idea to send to arbitrary stream only with one producer
>> connection?
>>
>>     Thanks.
>>
>> Miao Lin
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list