Open drozzy opened 9 years ago
scala-zeromq also works with https://github.com/zeromq/jzmq, that's how we use it in production. jzmq is little bit more difficult to use but it's much faster.
Do you know if I can just depend on jzmq in my build.sbt? Or do I need to build it somehow. (Bonus: I am running windows too)
Unfortunately, it's more complicated than that. jzmq has two parts: a jar to use in your app (you can put this into lib/ in your project) and a native library (libjzmq). Not sure about Windows support.
Alternatively you could give a try with https://github.com/zeromq/jeromq. We had some incompatibilities a while ago but this might be resolved by now.
I was able to get it working with a patch version of jeromq few months ago. See : https://github.com/damienlevin/scala-zeromq/tree/jeromq
@damienlevin So should I use your fork? Or were you thinking of merging it back into the main project?
@drozzy I believe for JeroMQ you do have to use Damien's fork currently.
There is another approach to get up and running: you can do the native zeromq install and then add the jzmq dependency to your project: http://search.maven.org/#artifactdetails%7Corg.zeromq%7Cjzmq%7C3.1.0%7Cjar
That avoids trying to get jzmq on your path correctly etc. As Chris mentioned it can be a bit of a pain to get everything configured correctly.
It seems like zeromq-scala binding was abandoned. Is there a way to make this work without it?
Any help much appreciated.