Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Incubator
    @incube8r
    Hi is there a quite on how to setup ZeroMQ to run on a Servlet container?
    Kevin Sapper
    @sappo
    @incube8r I don't get your question? What is your use case?
    KiranKumar BS
    @kirankbs
    Hello,
    I want to try jeromq. I would like to know when is there going to be a stable release?
    Incubator
    @incube8r
    @sappo atm I have this Spring (Java) Websocket server that is used to accept video and audio chunks for live streaming, I am wondering if I can user ZeroMQ with Java and replace Websocket for live streaming
    Kevin Sapper
    @sappo
    @incube8r technically I don't see why it shouldn't work. But I have never done it before ...
    Adam Arold
    @adam-arold
    hi there
    are there some up-to-date java examples somewhere?
    the docs of jeromq say that the guide is outdated
    Adam Arold
    @adam-arold
    for example i have no idea how to receive multiplart messages
    from a subscriber
    is this project abandoned?
    Kevin Sapper
    @sappo
    @adam-arold the docs are wrong. The examples in the zguide are up to date.
    To learn about PUB/SUB have a look at https://zguide.zeromq.org/docs/chapter5/
    Kevin Sapper
    @sappo
    Here's an example to receive a multipart message from a socket
     // Receive message from ZMQSocket "input" socket object and iterate over frames
     ZMsg receivedMessage = ZMsg.recvMsg(input);
     for (ZFrame f : receivedMessage) {
         // Do something with frame f (of type ZFrame)
     }
    Another example could be
    ZFrame receivedFrame; 
    do {
        receviedFrame = ZFrame.recvFrame(input);
        // Do something with frame
    } while (receivedFrame.hasMore());
    And no the project is not abandoned
    Adam Arold
    @adam-arold
    where ist his documented?
    can you point me to it?
    I read this chapter, but it doesn't talk about ZMsg
    although i didn't read it till the end
    thanks anyway, this is what I was looking for
    do you have plans for fixing the API issues of JeroMQ?
    Adam Arold
    @adam-arold
    I mean the scoping problem of Zmq.Socket
    even if I have a subscriber i can still call send and all the other functions on it
    i don't really know what's supposed to happen if I try to recv from a publisher
    stuff like that
    Kevin Sapper
    @sappo
    The socket API is intentionally designed like to to work with arbitrary socket types. The behavior of each socket is described in a rfc. E.g..
    the rfc for pubsub https://rfc.zeromq.org/spec/29/
    Adam Arold
    @adam-arold
    it is just not idiomatic in Java