Repository navigation
#113 Event-driven Architecture - #299
Conversation
- initial commit includes a simple and advanced example of Event-driven architecture
- refactored and moved around some classes
- removed unused imports
- added class diagram - added more comments
Review remarks:
|
|
@genericmethod the review remarks are now available. Please comment on this message thread once you've implemented the changes and I'll take a look again. |
Adds module to the root pom.xml Fixes indentation
Adds more Javadoc
Adds more Javadoc and fixes checkstyle issues.
Adds unit test to assert and verify pattern behaviour
Adds unit test to assert and verify pattern event get type behaviour. Also added unit test comments.
Fixed javadoc
There was a problem hiding this comment.
It will be great if you can link any actual applications as well. Any existing pattern or library that uses this architecture.
|
How is it different than Reactive programming paradigm? Are they similar? I think some of these questions should be answered in our site. If they are similar then we can link RxJava, Play framework (in Go language - But on JVM) as well. Also I was thinking about the difference between Message Driven Architecture (MDA) vs Event Driven Architecture (EDA). I am unsure about the correctness of those links, but if you can add something to it then it will be great. @iluwatar Where do you think can we address these points? FAQ? |
There was a problem hiding this comment.
In the first line of JavaDoc, I suppose we don't need "class",
/** The {@link UserCreatedEvent} should should be dispatched whenever a user has been created.
...There was a problem hiding this comment.
This test should not be here and should be inside UserCreatedEventTest.
|
@genericmethod I am done with initial review. Please go through the points and leave comments on individual points about your feedback, |
Adds various changes including : - Fixes to Javadoc - Test refactoring and improvements - Refactored EventDispatcher to be immutable - Removed DynamicRouter interface since it not needed - Renamed Channel to a more appropriate name - Handler
Adds various changes including : - Fixes to Javadoc
Updated index.md with eda uses
Fixed a typo in index.md
|
@genericmethod How can we help you with class diagram? FYI The guidelines are attached in Wiki section. Open points:
|
|
@npathai I don't use eclipse and don't have the object aid plugin available. Spoke with @iluwatar on gitter and he has kindly offered to generate it for me. Checkstyle has been run locally on the eda module with no reported warnings: |
|
What is the way forward regarding this PR? Is there anything pending from my end ? 😄 |
|
@genericmethod Sorry for the delay. I think the PR looks very good now. You should catch up your fork from the master, then I will accept and generate the class diagram for you. Please comment on this thread once the catch-up is done. |
# Conflicts: # pom.xml
Fixed PMD errors
bumped up version to 1.10
|
@iluwatar fork updated from master. All that is left is the class diagram. |
…luwatar#299" This reverts commit 0c062d3.
This reverts commit 03f0a21.
… in PR iluwatar#299"" This reverts commit 0f75a0e.
Class Diagram for EDA
|
@iluwatar |
#113 Event-driven Architecture
|
Good job @genericmethod it is a fine example! Additional thanks to @mikulucky for the class diagram. |
Let me know of any improvements 👍