How does Guava Event Bus internally work ?

358 views
Skip to first unread message

Rahul R

unread,
Sep 25, 2015, 2:30:51 AM9/25/15
to guava-discuss
I was not able to find documentation on how does the guava bus internally work.  The github page  talks more with respect to usage.
It will be of great help, if someone can compare and contrast eventbus with ExecutorCompletionService  provided in java.
I am trying to build an application where in I will be getting a stream of data from kafka and depending on the type of data, I will deploy a task asynchronously.

Thanks,
./Rahul

Tim Peierls

unread,
Sep 25, 2015, 10:16:02 AM9/25/15
to Rahul R, guava-discuss
The source is open and not that complicated. Any documentation of how EventBus works (beyond the source code and its comments) runs the risk of tying Guava development to a particular implementation choice, and it's important that the implementation be free to change as long as it meets the contract made by the API. 

You might want to check out the work being done by Doug Lea in this area:


--tim


--
guava-...@googlegroups.com
Project site: https://github.com/google/guava
This group: http://groups.google.com/group/guava-discuss
 
This list is for general discussion.
To report an issue: https://github.com/google/guava/issues/new
To get help: http://stackoverflow.com/questions/ask?tags=guava
---
You received this message because you are subscribed to the Google Groups "guava-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guava-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/guava-discuss/eb5bd2fc-9b58-4093-8e96-e545963a3bde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages