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

Support JeroMQ #23

Open
chrisdinn opened this issue Jan 13, 2015 · 12 comments
Open

Support JeroMQ #23

chrisdinn opened this issue Jan 13, 2015 · 12 comments
Assignees

Comments

@chrisdinn
Copy link
Contributor

For easier integration in Java applications, scala-zeromq should be adjusted to support JeroMQ (https://github.com/zeromq/jeromq). Should be a straightforward adjustment.

@chrisdinn chrisdinn self-assigned this Jan 13, 2015
@chipsenkbeil
Copy link

This would be wonderful. Definitely a +1.

@chipsenkbeil
Copy link

@chrisdinn, do you have an idea of when you might start tackling this? Is it still on your agenda?

@chrisdinn
Copy link
Contributor Author

I'm working on it next week, expect it to be done by Feb 23 at the latest. I would have it done sooner but I have a lot on my plate this month.

@chipsenkbeil
Copy link

Awesome! Thanks for letting me know.

@chrisdinn
Copy link
Contributor Author

I'm still working on this, but I've having some trouble with differences in the JeroMQ polling api. I"ll keep investigating, but I'll have to push back the delivery ETA a couple of weeks. Sorry.

@chipsenkbeil
Copy link

Alright, thanks for keeping me informed.

@chipsenkbeil
Copy link

Any update on the progress for this one?

@chipsenkbeil
Copy link

Hi, were you unable to resolve the issues regarding differences in the JeroMQ polling API?

@chrisdinn
Copy link
Contributor Author

Sorry for the delayed reply. There were some differences between the JZMQ and JeroMQ APIs that caused me some trouble.

I've since gotten distracted with other work but I intend to return to it sometime soon. Not sure exactly when, though,

@chipsenkbeil
Copy link

Any update at this point?

@damienlevin
Copy link
Contributor

Here is a working branch : https://github.com/damienlevin/scala-zeromq/tree/jeromq
Few things I noticed.

  • jeromq throws UnsupportedOperationException instead of ZMQException on connection failure
  • jeromq doesn't throw any Exception on binding on failure
  • jeromq Poller seems to adjust the pollIndex when unregistering sockets. Not sure if that's intended or not.

@damienlevin
Copy link
Contributor

I did a quick test trying to fix the jeromq poller and that seems to work, let's see what they say.
zeromq/jeromq@ac8bb23

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

No branches or pull requests

3 participants