Questions tagged [jzmq]

jzmq is the java bindings for the ZeroMQ transport layer

80 questions
1
vote
1 answer

ZMQ - request/response with multiple front service instances and backend workers

Here is what I am trying to achieve - A REST service (deployed on multiple instances) gets a request, processes it and passes it on to a fleet of worker instances. The worker does the bigger chunk of work, prepares the response and sends it…
anindyaju99
  • 465
  • 1
  • 5
  • 16
1
vote
1 answer

Error: no jzmq in java.library.path

I installed zmq using homebrew and then installed jzmq from the github master. I am getting this error: java.lang.UnsatisfiedLinkError: no jzmq in java.library.path I tried setting the…
BAR
  • 15,909
  • 27
  • 97
  • 185
1
vote
0 answers

High lag with zeromq

I am facing a strange issue with ZMQ, which I'm just not able to debug. These are the components: Java ZMQ Server - Almost an exact copy of this example. There are a hundred worker threads. PHP Client - Simple request reply with a REQ socket. This…
Jayanth Koushik
  • 9,476
  • 1
  • 44
  • 52
1
vote
1 answer

ZMQ: Assertion Failed with JZMQ

My Java server runs pretty well for a while with JZMQ. And suddenly it got Assertion failed: check () (msg.cpp:220) It cannot be caught in JAVA. And the java process is down itself. It seems like Cpp issue in JNI May I know if any one know what…
MobileDev
  • 178
  • 3
  • 14
1
vote
2 answers

Using JZMQ with EPGM Transport Is Not Sending or Receiving Data

I'm experimenting with java flavored zmq to test the benefits of using PGM over TCP in my project. So I changed the weather example, from the zmq guide, to use the epgm transport. Everything compiles and runs, but nothing is being sent or received.…
mblPrgr
  • 139
  • 1
  • 2
  • 11
1
vote
1 answer

JZMQ error: no thread available

I'm trying to write a simple java application that would run on a server and do some simple stuff. But currently my application is failing on a weird error i cannot seem to find any information on Exception in thread "main" org.zeromq.ZMQException:…
Gabriel
  • 1,820
  • 2
  • 23
  • 31
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
2 answers

Storm workers not starting

My Nimbus host and supervisor run properly. When I submit a wordcount topology to the Nimbus host it successfully upload. After uploading topology supervisor giving error kill: No such process When I check the worker-6001.log and 6002.log I found a…
Gabber
  • 7,169
  • 3
  • 32
  • 46
1
vote
1 answer

How can services written in JAVA communicate with zeromq broker written in C

I have written a request-reply broker using zeromq and the C programming language. The broker routes client requests to the appropriate services, and then routes the reply back to the client. The services are written in JAVA. Can someone please…
user1274878
  • 1,275
  • 4
  • 25
  • 56
1
vote
0 answers

ZeroMQ - jzmq .recvZeroCopy() fails to get any message while .recv() works

So I am writing my own piece of stuff using jzmq GIT master branch and ZeroMQ 3.2.3. After installation I tried to test the following simple PUB/SUB program, where a publisher and a subscriber talk in a single process. Since the test is under…
Alex Suo
  • 2,977
  • 1
  • 14
  • 22
1
vote
2 answers

ZMQ high water mark deprecated on 3.x.x?

Using the jzmq wrapper: scala> import org.zeromq.ZMQ import org.zeromq.ZMQ scala> val context = ZMQ.context(1) context: org.zeromq.ZMQ.Context = org.zeromq.ZMQ$Context@56d58984 scala> val socket = context.socket(ZMQ.REP) socket:…
Pablo Fernandez
  • 103,170
  • 56
  • 192
  • 232
1
vote
1 answer

Hadoop and JZMQ - no jzmq in java.library.path

I'm trying to get the JZMQ code working on ONE of the nodes on Hadoop Cluster. I have necessary native jmzq library files installed under - /usr/local/lib directory on that node. Here's the list - libjzmq.a libjzmq.la libjzmq.so libjzmq.so.0 …
user2508012
  • 43
  • 1
  • 3
  • 5
1
vote
5 answers

Configuration for Java binding for ZeroMQ (0MQ) with no root privileges on Linux

I am a novice with zeroMQ and I am stuck at binding ØMQ with java on a server running CentOS release 5.9. Unfortunately, I do not have super user/root privileges on the server and am trying to install ØMQ as a normal user with restricted privileges.…
GBP
  • 302
  • 6
  • 19
1
vote
2 answers

Akka-ZMQ subscriber creation error (poll)

I successfully created publisher but failed to create subscriber by using the following: public static void main(String [] args) { ActorSystem system = ActorSystem.create("System"); ActorRef subscriber = system.actorOf(new…
Hako
  • 361
  • 1
  • 2
  • 9
0
votes
1 answer

Why am I getting an Errno 4 ZMQException?

I am getting this exception: org.zeromq.ZMQException: Errno 4 at org.zeromq.ZMQ$Socket.mayRaise(ZMQ.java:3732) ~[jeromq-0.5.3.jar:na] at org.zeromq.ZMQ$Socket.recv(ZMQ.java:3530) ~[jeromq-0.5.3.jar:na] at…
jose1278
  • 3
  • 3