Skip to content
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

Make Journal factory work with implementations that do not use the dispatcher directly #26

Merged
merged 1 commit into from
Dec 10, 2020

Conversation

jakzal
Copy link
Member

@jakzal jakzal commented Dec 10, 2020

Addresses #25

For example, JDBCJournalActor now requires two arguments: JDBCJournalInstantWriter and Configuration. It no longer requires Dispatcher.

This patch makes the following work:

Journal.using(stage, JDBCJournalActor.class, configuration, journalInstantWriter)

Any client code still needs to be updated to provide the JDBCJournalInstantWriter instead of Dispatcher. I will take a look at vlingo-symbio-jdbc to see if it's possible to introduce backwards compatibility.

…spatcher directly

Signed-off-by: Jakub Zalas <jakub@zalas.pl>
Copy link
Contributor

@VaughnVernon VaughnVernon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jakzal Thanks! 👍

@VaughnVernon VaughnVernon merged commit 13caf18 into master Dec 10, 2020
@jakzal jakzal deleted the journal-factory-with-no-dispatcher branch December 10, 2020 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants