Questions tagged [jzmq]

jzmq is the java bindings for the ZeroMQ transport layer

80 questions
20
votes
5 answers

Compiling JZMQ on Ubuntu

Hello all I'm attempting to follow the directions located at: https://github.com/nathanmarz/storm/wiki/Installing-native-dependencies for installing Zero MQ as a dependency for Storm on a Ubuntu 12.04 machine. However when trying to run the make…
Chris Maness
  • 1,682
  • 3
  • 22
  • 40
12
votes
4 answers

Get TCP address information in ZeroMQ

I want to connect clients to a server using ZeroMQ (java bindings, jzmq), but I need the TCP information badly, for example the TCP/IP address of a client request! The problem is, for being able to announce a service in the network I need to grab…
AlexLiesenfeld
  • 2,872
  • 7
  • 36
  • 57
11
votes
8 answers

How do I compile jzmq for ZeroMQ on OSX?

Trying to follow the directions from: http://github.com/zeromq/jzmq I installed pkg-config using Homebrew and then I run the following commands: ./autogen.sh ./configure The configure fails with: checking how to hardcode library paths into…
Joshua
  • 26,234
  • 22
  • 77
  • 106
10
votes
2 answers

How to check if JZMQ socket is connected

Is there way to check if JZMQ (java binding of zmq) socket is connected? ZContext zmqContext = new ZContext(); ZMQ.Socket workerSocket =…
Michal Zmuda
  • 5,381
  • 3
  • 43
  • 39
9
votes
1 answer

ZeroMQ: Same context for multiple sockets

I am trying to use ZeroMQ's pub-sub sockets. However, I don't clearly understand the role of context (zmq::context_t) while creating sockets (zmq::socket_t). Assuming that I want to create 5 subscriber sockets (zmq::socket_t using ZMQ_SUB), do I…
JhnElaine
  • 93
  • 1
  • 4
7
votes
1 answer

Zeromq which socket should bind on PubSub pattern

I have been reading about ZeroMQ more specifically about NetMQ and almost every Pub/Sub examples I saw used to Bind the Publisher socket and then the Subscriber socket connects to the other. So i'm wondering if it is possible to do the reverse, i…
mmarques
  • 625
  • 3
  • 9
  • 27
6
votes
2 answers

Why one might need JeroMQ if it can use JZMQ?

Simple question. Why "porting" zmq on java and call it JeroMQ is good idea?
6
votes
1 answer

how to implement Pub-Sub Network with a Proxy by using XPUB and XSUB in ZeroMQ(jzmq) 3.xx

I am trying to implement using XPUB and XSUB as provided in this below figure. I have gone through their examples provided but could not get one for XPUB and XSUB in Java. Here they have given an example in C which is little complex as I am new to…
Ajay Kumar Meher
  • 1,932
  • 16
  • 24
5
votes
2 answers

0MQ - JZMQ unsatisfied link error

I've installed 0MQ on a VM running CentOS and I have a C-based application happily working with it. However, I'm unable to get the Java application to work via JZMQ bindings. Here's the error I get: java -Djava.library.path=/usr/local/lib -jar…
Yuri Brigance
  • 542
  • 4
  • 13
4
votes
1 answer

Need a 64 bit binary for JZMQ, or bulding instructions for a non MSVC environment (cygwin/mingw)?

I'm looking for a binary source for jzmq. Although I've been able to use mingw to build the zmq basic libraries and dlls, I can't use the same technique to compile jzmq myself. I found this…
F. Randall Farmer
  • 627
  • 1
  • 6
  • 13
4
votes
1 answer

Is jzmq deprecated?

Looking the ZeroMQ bindings. I found that jzmq last release was almost three years ago. Is this binding deprecated? On the other hand there is a native java implementation of ZeroMQ called JeroMQ which is supported by the ZeroMQ community and has a…
Renato Sanhueza
  • 534
  • 7
  • 27
4
votes
1 answer

Why ZeroMQ PGM multicast receive stuck in between & not receiving packets further

ZeroMQ ( version - zeromq-4.1.6 ) PGM multicast packet receive stuck in between, even Sender still sending the packets without any issue. If we restart the Receiver, application now receives the packets, but it won't be a solution. I tried with…
my2117
  • 143
  • 1
  • 6
4
votes
2 answers

Does "jzmq" support ZeroMQ Version 3?

anyone knows if the java bindings "jzmq" for ZeroMQ work with ZeroMQ version 3.x.x ? There is NOWEHERE official information about that. Anyone an idea?
AlexLiesenfeld
  • 2,872
  • 7
  • 36
  • 57
3
votes
1 answer

ZeroMQ is dropping messages

I am using ZeroMQ to communicate between multiple services. I ran into an issue where I was sending responses but they were never getting to the caller. I did a lot of debugging and couldn't figure out what was happening. I eventually reduced the…
devo
  • 1,290
  • 1
  • 15
  • 28
3
votes
2 answers

Does ZMQ compress messages?

I'm interested in finding out if ZMQ already compresses messages before sending them out so as to not do this myself which would be redundant to compress a message twice. If it does do this is it automatic, or is there an option param to…
dtrihinas
  • 446
  • 1
  • 4
  • 11
1
2 3 4 5 6