Added an option to plug multiple database drivers to SQLite event store (yes, also Cloudflare D1) - #296
Merged
Merged
Conversation
added 8 commits
February 6, 2026 10:34
…other drivers This will need to be expandded to have a better DevEx of connection params (e.g. singleton is meaningless in this context, but we still want to have e.g. fileName on the main)
oskardudycz
force-pushed
the
add_event_store_driver
branch
from
February 7, 2026 17:53
fa373e1 to
94ed34f
Compare
added 4 commits
February 7, 2026 19:01
oskardudycz
marked this pull request as ready for review
February 7, 2026 18:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the first version that allows running both sqlite3 and Cloudflare D1 event store. (At least on Miniflare).
After this PR, it'll be needed to add drivers to the event store config, e.g.:
For
sqlite3:For Cloudflare D1
Also, in this PR, I implemented batching for SQLite appends to make it work also for Cloudflare D1.
There'll be follow-up PRs adjusting consumers and processors to base code according to PostgreSQL. Also extending drivers to have better DX and not take flattened Dumbo pool options. And adding Pongo support of course.
@SamHatoum @LuccaHellriegel @davecosec FYI.