[zeromq-dev] Question on 0mq socket type for receiving syslog message.

2011-06-27 Thread maharshi bhatt
Hi, I have a quick question. I am new to 0mq and just started on it. I want to use 0mq to receive syslog messages from syslog servers running on router devices. What is the appropriate socket type to use for this purpose? Should I use ZMQ_PULL? If yes, will it work without ZMQ_PUSH not done on t

Re: [zeromq-dev] Question on 0mq socket type for receiving syslog message.

2011-06-27 Thread Martin Sustrik
On 06/27/2011 08:14 AM, maharshi bhatt wrote: > I have a quick question. I am new to 0mq and just started on it. I want to > use 0mq to receive syslog messages from syslog servers running on router > devices. What is the appropriate socket type to use for this purpose? Should > I use ZMQ_PULL?

Re: [zeromq-dev] Question on 0mq socket type for receiving syslog message.

2011-06-27 Thread Brian Knox
You can't send directly from rsyslog to a zeromq socket. You need to write a translator (something that receives TCP from syslog and then sends zmq messages). If you're using rsyslog, you can take a look at the zeromq input and output plugins for it: https://github.com/aggregateknowledge/rsyslog

[zeromq-dev] Slight problem with make check

2011-06-27 Thread Martin Sustrik
Hi Mikko, Mato, It seems that if libzmq git directory is on path that contains space character, make check fails. Ideas? Martin ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Slight problem with make check

2011-06-27 Thread Pieter Hintjens
On Mon, Jun 27, 2011 at 11:10 AM, Martin Sustrik wrote: > It seems that if libzmq git directory is on path that contains space > character, make check fails. Needs quoting around the file name, when passed around. Do you have a specific error message or line number for the failure? -Pieter

Re: [zeromq-dev] Slight problem with make check

2011-06-27 Thread Martin Lucina
sust...@250bpm.com said: > Hi Mikko, Mato, > > It seems that if libzmq git directory is on path that contains space > character, make check fails. There's probably any number of things that will fail in the build system if a path component has whitespace in it. > Ideas? Don't do that. -mato _

Re: [zeromq-dev] XREQ - XREP

2011-06-27 Thread Pieter Hintjens
Hi Yuri, Please make a minimal test case, either in Java or C++, that demonstrates the problem. By "minimal" I mean, with absolutely nothing except the code needed, it should be 20-50 lines of code. With that we can understand what is going on. Thanks Pieter On Mon, Jun 27, 2011 at 1:54 PM, Yur

Re: [zeromq-dev] Slight problem with make check

2011-06-27 Thread Pieter Hintjens
On Mon, Jun 27, 2011 at 2:28 PM, Martin Lucina wrote: > There's probably any number of things that will fail in the build system if > a path component has whitespace in it. > >> Ideas? > > Don't do that. But how do I install into C:\Program Files...? Oh, wait... :-) -Pieter ___

Re: [zeromq-dev] Thinking out loud ...

2011-06-27 Thread Artur Brugeman
> > Naive approach would be to allow for explicit acks so that there could > be at most one request sent to a specific peer at any single moment. > That would at least allow load-balancer to distinguish "busy" peers from > "idle" peers and base the load-balancing on that. > > However, that doesn't

Re: [zeromq-dev] Thinking out loud ...

2011-06-27 Thread Martin Sustrik
On 06/28/2011 05:57 AM, Artur Brugeman wrote: > It's based on XREP sockets now. I've given quite a lot thinking to it, > and can share my experience. Please, do so. Martin ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/

[zeromq-dev] [PATCH] Rename i_inout to i_engine_sink

2011-06-27 Thread Martin Sustrik
Trivial patch to make the codebase more comprehensive. >From f8bf3a4cef6b8e1688683ab8c5ed6dd1bc8e3a12 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Mon, 27 Jun 2011 18:16:53 +0200 Subject: [PATCH] Rename i_inout to i_engine_sink Signed-off-by: Martin Sustrik --- src/Makefile.am |