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
0
votes
1 answer

Purpose of zeromq send high watermark

The first time I skimmed the zeromq docs, I assumed that the sender high watermark was there to ensure that the sender did not get too far ahead of the receiver. Now that I'm looking at it more carefully, it seems that this can't possibly be true,…
Mark VY
  • 1,489
  • 16
  • 31
0
votes
1 answer

Restrict connection attempts from IP directions that are not in a pool of directions

I just wanted to ask something I've not found a way to do on ZeroMQ. I've got a broker that uses Router socket for communication with some clients and a Dealer socket that asks some servers for the solution of this requests, basically a…
Y34x4t3
  • 19
  • 7
0
votes
1 answer

JeroMQ send heartbeat from same thread

I have a problem with PUB/SUB mode, where SUB sometimes randomly (once a day or so) stops receiving data. I wan to add some custom heartbeat message from PUB to SUB every second, but I have to send it from same thread because PUB is not thread safe.…
Jonhtra
  • 897
  • 2
  • 12
  • 18
0
votes
1 answer

How to decode JeroMQ byte array in PyZMQ?

I am trying to hook up a JeroMQ publisher to a PyZMQ subscriber. It works well but I don't know how to decode/deserialize the data I am getting on the Python side. For example, here is a byte array that I am sending from Java: [10, 10, 7, 55, 79].…
Yann Hoffmann
  • 201
  • 2
  • 8
0
votes
0 answers

JeroMQ - Sending message from Java client to Python server

I am trying to send a message from a Android Java client using JeroMQ to a Python server using ZeroMQ. I am running bother server and client on the same machine. The server runs in a Jupyter notebook, while the client runs in an Android device…
speaker
  • 1
  • 2
0
votes
1 answer

some missing messages in ZeroMQ multiple topic filtering usage

I have a ZeroMQ subscriber application written in Java using JeroMQ 0.5.2. In the code, I subscribe to multiple topics like that: Socket subscriber =…
xyzt
  • 1,201
  • 4
  • 18
  • 44
0
votes
1 answer

ZMQ (Jeromq) - Missing parameter in socket send documentation

I am currently trying to modify the simple hwclient/hwserver example to send a byte array with predefined size to the server. I have seen that basically the functionality is given in the following form: public boolean send(byte[] data, int off, int…
0
votes
1 answer

JeroMQ subscriber connection breaks when recv-ing in Matlab

Using JeroMQ in Matlab, my subscriber connection drops when I try to recv a message. I have verified this with Wireshark. I also note that the closing of the TCP connection is initiated by my subscribing port, not the publishing port.…
0
votes
1 answer

Error running mvn package for jeromq: "Bind Cannot assign requested address: connect"

I want to send and receive data from Matlab and MetaTrader 5 on Windows 10. According to this post, JeroMQ is the easiest route to go: I cloned the repo from https://github.com/zeromq/jeromq I installed maven Then I went into the repository root…
0
votes
1 answer

ZeroMQ running server Java

Im currently trying to develop a server that should basically get incoming data from unknown number of clients at any time. I.e the system will have multiple clients to send data and the servers job is basically to just collect the data and save it…
Robin
  • 21
  • 3
0
votes
1 answer

Get Errno 48 while using Pub-Sub ZeroMQ sockets with a specific IP address other than localhost

I get the following error Exception in thread "main" org.zeromq.ZMQException: Errno 48 : Address already in use at org.zeromq.ZMQ$Socket.mayRaise(ZMQ.java:3533) at org.zeromq.ZMQ$Socket.bind(ZMQ.java:2987) at …
Smaillns
  • 2,540
  • 1
  • 28
  • 40
0
votes
1 answer

ZMQ implemetnation with Major domo pattern. is it possible to mix connection protocols between worker-broker and broker-client?

I have successfully able to connect worker and broker on tcp protocol and then client to broker on tcp. Now i am evaluating that is it possible that worker and broker can connect on ipc/inproc protocol while client will connect to broker on tcp. My…
Kamran Shahid
  • 3,954
  • 5
  • 48
  • 93
0
votes
0 answers

camel-zeromq is not properly terminating JeroMQ context

I have created a small Apache Camel example, that uses the camel-zeromq component. JeroMQ is configured as ZMQ implementation. Here an excerpt of build.gradle.kts dependencies { // 3.0.0-M1, see https://stackoverflow.com/q/55314360/1809463 …
mike
  • 4,929
  • 4
  • 40
  • 80
0
votes
0 answers

How can I compile the Jeromq package, the java implementation of ZeroMQ

Jeromq is a java implementation of ZeroMQ. I am making some changes to the communication(TCP, UDP...), and I want to compile Jeromq in Linux, what is the command that can compile the Jeromq package. Knowing that I am running it using the following…
0
votes
1 answer

Multiple Processes Logging to ZeroMQ Appender

I have multiple processes running on multiple machines using log4j (2.11). I need to consolidate the logging messages to be displayed on the front-end, and would like each process to use a ZeroMQ Appender to publish the log messages to a single…
Walter
  • 11
  • 2