Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

zeromq-scala-binding outdated #24

Open
drozzy opened this issue Oct 9, 2015 · 6 comments
Open

zeromq-scala-binding outdated #24

drozzy opened this issue Oct 9, 2015 · 6 comments

Comments

@drozzy
Copy link

drozzy commented Oct 9, 2015

It seems like zeromq-scala binding was abandoned. Is there a way to make this work without it?

Any help much appreciated.

@chrisdinn
Copy link
Contributor

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.

@drozzy
Copy link
Author

drozzy commented Oct 9, 2015

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)

@chrisdinn
Copy link
Contributor

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.

@damienlevin
Copy link
Contributor

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

@drozzy
Copy link
Author

drozzy commented Oct 10, 2015

@damienlevin So should I use your fork? Or were you thinking of merging it back into the main project?

@jasongoodwin
Copy link
Contributor

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants