You can use AWS’s Simple Storage Service (S3) as Crux’s 'document store'.
prefix(string): S3 key prefix
doc-cache-size(int): size of in-memory document cache
|This is unfortunately currently only accessible from Clojure - we plan to expose it outside of Clojure soon.|
While the above is sufficient to get
crux-s3 working out of the box, there are a plethora of configuration options in S3 - how to get credentials, object properties, serialisation of the documents, etc.
We expose these via the
crux.s3.S3Configurator interface - you can supply an instance using the following in your node configuration.
Through this interface, you can supply an
S3AsyncClient for crux-s3 to use, adapt the
GetObjectRequest as required, and choose the serialisation format.
By default, we get credentials through the usual AWS credentials provider, and store documents using Nippy.