Skip to content

JAMES-4182 Add documentation explains blob store design#3034

Open
quantranhong1999 wants to merge 3 commits intoapache:masterfrom
quantranhong1999:blob-store-dao-docs
Open

JAMES-4182 Add documentation explains blob store design#3034
quantranhong1999 wants to merge 3 commits intoapache:masterfrom
quantranhong1999:blob-store-dao-docs

Conversation

@quantranhong1999
Copy link
Copy Markdown
Member

resolve #2960 (comment) concern


== Abstraction layers

Most James components use `BlobStore`, which is responsible for saving content
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

So a single Blobstore is bound to a single logical bucket name and component builders who want/need several "buckets" will need several blobstores

Allowing to create "organization" within the blobstore bucket can be done but requires custom blobstore implementation

* needed to interpret a payload, such as compression markers. Metadata actively used by James should expose typed
* helpers, while the underlying metadata map remains an extension point for James library users and custom implementations.</p>
*
* <p>See {@code docs/modules/servers/partials/architecture/blobstore.adoc} for more details.</p>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ideally can you add a similar short description and a link to the documentation on the BlobStore interface ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done. Hopefully it resolves your suggestions :-).

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.

4 participants