You may be interested in these two RFCs currently being worked on by the OSGi Alliance:
[1] Distributed Eventing [2] Push Streams Your feedback would be greatly appreciated! via: - the osgi public bugzilla [3] - the osgi-dev mail list [4] - joining the alliance [5] (recommended) :D Sincerely, - Ray [1] https://github.com/osgi/design/blob/master/rfcs/rfc0214/rfc-0214-DistributedEventing.pdf [2] https://github.com/osgi/design/blob/master/rfcs/rfc0216/rfc-0216-PushStreams.pdf [3] https://osgi.org/bugzilla/ [4] https://mail.osgi.org/mailman/listinfo/osgi-dev [5] https://www.osgi.org/join/ On Sun, Nov 15, 2015 at 12:44 PM, <developm...@mobigov.com> wrote: > > > Nevermind I think I got a little better understanding. Event admin does > not return promises or support backpressure through these eventtypes > because it was written before all of this. Are there plans to change the > event admin api to become a publisher or does it serve a different > purpose and if I am looking for streams support it would be better to > write a custom publisher for events and pub-sub > > On 2015-11-15 11:54, developm...@mobigov.com wrote: > > >> I read an article this morning here. > http://akarnokd.blogspot.hu/2015/11/asynchronous-event-streams-vs-reactive.html > [1] My guess is that util.promises were more designed with OSGI services in > mind rather than event streams so that is why some of the design decisions > were made the way they were. I did think the author did have a couple of > points though. I am still new to streams and osgi and think much of the > article was over my head. I was hoping others could give me their feelings > on some of the criticisms where the author may have had a point or been on > the wrong track? Does the felix event admin use the promises library under > the hood or is it completely separate because they are both at the > compendium level and it would be a bad idea to have dependencies on other > compendium libs. Is there a good example out there where I can take a look > at the code and see how I should be looking to implement eventadmin with > promises and streams. Thanks for any advise, David Daniel > > > Links: > ------ > [1] > > http://akarnokd.blogspot.hu/2015/11/asynchronous-event-streams-vs-reactive.html -- *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000) Senior Software Architect *Liferay, Inc.* <http://www.liferay.com> (@Liferay) Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)