-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Project Reactor #116
Comments
Hey thanks a lot! Sorry long delay! Are you actively using the project? Reactor has been brought up - but the system is not CPU bound at all, so I'm not sure I see a point. |
Hi @astubbs, I'm not yet (due to limitation to HTTP), but was planning to. Reactor support wouldn't be about anything 'CPU bound' but simply as an alternative to Vert.x - for non-blocking IO. As I understand currently only Vert.x HTTP is supported (?) - while I'd like to re-use already existing code to access my database and/or cache. |
Oh dang! Sorry @hartmut-co-uk - my bad. My brain translated that to Disrupter (https://lmax-exchange.github.io/disruptor/). Ah yes I remember Reactor now. - No plans to implement. But the implementation would be extremely similar to the vert.x module, and can reuse a lot of what the vert.x module does. I'd recommend forking the Vert.x class, and adapting to to Reactor, then taking out the common parts and making an abstract super between them. Yes, currently vert.x module only supports http, generic interface work stalled due to lack of demand: I have some in progress work to refactor the main class, but I'd stopped working on it: There is an issue with the queueing model for vert.x atm though, and will also have the same problem with Reactor I think: vert.x concurrency relies on WebClient only using a single host #113 Let me have a quick look... |
@hartmut-co-uk can you provide a simple bit of code that demonstrates using reactor to do something async with a file or something you use it for? |
I'll first need to get my head around this again :-)
Not sure if the parallelConsumer could provide a ~ 🤔 or - since the parallelConsumer already comes with native support for the ordering mode maybe it could simply require a lambda returning a Something like
|
ok @hartmut-co-uk , well that was interesting! haha whoops. Check it out. It uses the same approach as Vert.x. the |
👍 something like this? |
Ok, merging the prototype. Need help kicking the tires, writing docs and more tests. |
Not explicitly mentioned on the Roadmap - but is support for Project Reactor planned also?
Btw. congrats to the great work - I think this is going to fill a huge 'gap' for consumers / processing patterns.
The text was updated successfully, but these errors were encountered: