Questions tagged [jeromq]

JeroMQ is a pure Java implementation of libzmq

JeroMQ is a pure Java implementation of libzmq (http://zeromq.org)

Features:

  • based on zeromq-3

  • tcp:// protocol and inproc:// is compatible with zeromq

  • not too bad performance compared to zeromq 2M messages (100B) per sec Performance

  • exactly same develop experience with zeromq

89 questions
1
vote
2 answers

ZeroMQ inter-language translation of messages CPPZMQ -- JeroMQ -- PyZMQ

In a C++ ZMQ Publisher I am packing a string up in a message_t like so: int main() { zmq::context_t context(1); zmq::socket_t socket(context, ZMQ_PUB); socket.bind("tcp://*:5555"); socket.setsockopt(ZMQ_CONFLATE, 1); …
Paul McElroy
  • 373
  • 1
  • 2
  • 13
1
vote
1 answer

Send files as message in JeroMQ

In JeroMQ how to send files with content type of file and other properties with single message. in client: build file message and send to server DataInputStream inStrm = file.getContent(); ZMsg msg = ZMsg.load(inStrm); msg.send(sender); Is there…
Abhishek Nayak
  • 3,732
  • 3
  • 33
  • 64
1
vote
0 answers

How can i use JeroMq in my spring-boot project?

I want to implement Jeromq in my spring-boot project, which simply pull data from environment & send it to broker & client.
1
vote
2 answers

How to connect queues to a ZeroMQ PUB/SUB

Consider the following: a set of 3 logical services: S1, S2 and S3 two instances of each service are running, so we have the following processes: S1P1, S1P2, S2P1, S2P2, S3P1, S3P2 a ZeroMQ broker running in a single process and reachable by all…
Spiff
  • 2,266
  • 23
  • 36
1
vote
1 answer

Invoke HTTP GET over zeromq

After reading benchmark results of zeromq , I was wondering if I can give it a try for accessing a ReSTFul API via HTTP GET calls over zeromq. I want to test if zeromq can provide a Low-Latency Request-Reply mechanism as compared other alternatives…
Saurabh Bhoomkar
  • 595
  • 1
  • 9
  • 29
1
vote
1 answer

Jeromq/ZeroMQ server (windows) - client (android) test

I'm trying to do a test with Jeromq library with a simple app which doesn't work. Here's Server : import org.zeromq.ZMQ; public class Server { public static void main(String[] args) throws Exception { ZMQ.Context ctx =…
Vlad Alexeev
  • 2,072
  • 6
  • 29
  • 59
1
vote
1 answer

ZeroMQ producing meager results

I am testing out ZeroMQ and I am only getting around 1227 - 1276 messages per second. I have read however that these are supposed to be over 100x this amount. What am I doing wrong? Is there some configuration I can specify to fix this? I am using…
mangusbrother
  • 3,988
  • 11
  • 51
  • 103
1
vote
0 answers

why jeromq push send failed after a period of time

I'm trying to use push/pull pattern with jeromq(0.3.2). At the beginnig, it works well. but after a period of time. the push side doesn't send out messages and blocked there. I don't know why. I set the sendTimeout param, and print the zmq socket…
nangongfan
  • 11
  • 2
1
vote
0 answers

JeroMQ does not work across platforms

I'm trying to get a device running a native C build of ZMQ v 3.2.0 to work with a Java application built with JeroMQ (pure Java impl) using pub/sub ZMQ sockets. However, it seems that JeroMQ is using different flag configurations preceding the…
kart
  • 11
  • 2
1
vote
1 answer

Messaging library for jeroMQ

I have chosen jeroMQ for building Asynchronous message channel for publishing content from multiple clients. On the other end server side workers processes request and notify client only if server wanted to notify client based on the message…
Nageswara Rao
  • 954
  • 1
  • 10
  • 32
1
vote
1 answer

zeromq route-req java example does not work

I run this official Java example in Eclipse, with jeromq-0.3.2.jar library, it doesn't work if I "run" it, it only works if I set some break point and "debug" it. It seems the message is lost. My own application using route-req pattern has this…
Li Tian Gong
  • 393
  • 1
  • 6
  • 16
1
vote
1 answer

routing files with zeromq (jeromq)

I'm trying to implement a "file dispatcher" on zmq (actually jeromq, I'd rather avoid jni). What I need is to load balance incoming files to processors: each file is handled only by one processor files are potentially large so I need to manage the…
apanday
  • 511
  • 4
  • 15
1
vote
1 answer

zeromq - handle IOException when logging from Tomcat

I apologise, I'm relatively new to Java. I'm writing a library to send logs from Java applications to Logstash using zeromq (jeromq). One of my test servers is a busy Jenkins master running in Tomcat. My library, "Logit"…
stuart-warren
  • 605
  • 5
  • 14
1
vote
1 answer

Using polling in jeromq

I am learning to use zeromq polling in android . I am polling on a req socket and a sub socket in the android program(client). So that this client can receive both reply messages from the server and also published messages. My polling is not…
0
votes
2 answers

Zmq pub-sub pattern does the publisher need to upload multiple times in n*O(m) messages to subscribers?

Hello all assuming that we have a pub-sub pattern in zmq with many subscribers, one publisher, and a message of 3GB. My question is does the publisher send n x O(m) where n is the number of subscribers and m is the 3GB size or does it only uploads…
Mixalis Navridis
  • 181
  • 2
  • 15