-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
"Building your own storage adapter" info? #159
Comments
Hello there! First and foremost, I want to extend my heartfelt congratulations to all the contributors behind this outstanding library. It truly stands as a remarkable tool. Regarding the issue at hand, I've been working on crafting an EventStorage adapter for EventStoreDB, and I'm also considering creating event bus and queue adapters down the line. To answer your question @thearchduke , up to this point, I've been shaping my adapter's behavior by drawing inspiration from existing implementations and unit tests for the DynamoDB and InMemory adapters. However, I suspect I might be overlooking some undocumented features, which has prompted a few questions, targeted to this project's main contributors (@ThomasAribart it seems given source history :) ):
I plan to open source the adapter, would you be open to include it in this codebase? |
I wrote an (I'm sure hackish) implementation of a redis-backed command queue using bullmq that wasn't the hardest thing in the world. I also ended up building a whole edifice around using commands in a different way, which I'm not sure I'm able to open source, but would probably be a valuable snippet if nothing else. I'll check about that. |
@thearchduke Indeed, good catch, the page has disappeared when we migrated the docs! Will re-publish it next week, thanks for the heads up 👍 Meanwhile, you can follow the implementation based on DynamoDB. The TypeScript interface does 90% of the job. The only small catch is that the adapter should throw an error that implements the @dvxam thanks for the feedback! Always appreciated 🤗 Of course, I would be happy to include the EventStoreDB adapter into Castore! Regarding the
Regarding
Last thought: The immutability of EventStoreDB makes the |
I've been working on a system that will be using postgres for our event database. However, the page for how to build your own adapter seems to have been deleted. Is the information in the linked commit outdated? It's still listed when you search the https://castore-dev.github.io/ docs, but then gives a 404. Not sure the right way to proceed here.
Thanks for the help!
The text was updated successfully, but these errors were encountered: