S3JournalStorageOptions
class
Namespace: Orleans.Journaling
Options for configuring the Amazon S3 journal storage provider.
public sealed class S3JournalStorageOptionsConstructors
Properties
BucketNameBucket name where journals are stored.ClientConfigOptions to use when creating the S3 client, ornullto use the AWS SDK defaults.CreateBucketIfNotExistsGets or sets a value indicating whether the configured bucket should be created if it does not exist.DeleteOldCheckpointsGets or sets a value indicating whether obsolete checkpoint objects are deleted after a new checkpoint is published. Defaults to true.GetObjectKeyGets or sets the delegate used to generate the base object key for a journal.MaxMetadataOnlyConflictRetriesGets or sets the maximum number of times Append, Replace, or Delete will refresh its cached WAL ETag and retry in place after observing a metadata-only conflict. Defaults to 5.MetadataOnlyConflictInitialBackoffGets or sets the initial delay applied before retrying after a metadata-only conflict. Defaults to 10 ms.MetadataOnlyConflictMaxBackoffGets or sets the upper bound on metadata-only conflict retry backoff. Defaults to 200 ms.S3ClientGets or sets the client used to access S3.StorageClassGets or sets the S3 storage class applied to newly-created WAL and checkpoint objects.TryParseJournalIdGets or sets the delegate used to parse journal ids from catalog object keys.UseConditionalDeleteGets or sets a value indicating whether delete requests add S3 Express size and last-modified conditions in addition to the WAL ETag condition.UseS3ExpressAppendGets or sets a value indicating whether appends use S3 ExpressAmazon.S3.Model.PutObjectRequest.WriteOffsetBytes.
Methods
ConfigureS3Client(AmazonS3Config)Configures the S3 client using the AWS SDK default credential chain and the provided client configuration.ConfigureS3Client(Func<CancellationToken, Task<IAmazonS3>>)Configures the S3 client using the provided callback.ConfigureS3Client(RegionEndpoint)Configures the S3 client using the AWS SDK default credential chain and the provided region.ConfigureS3Client(string, string, AmazonS3Config)Configures the S3 client using explicit credentials and client configuration.
Fields
DEFAULT_MAX_METADATA_ONLY_CONFLICT_RETRIESThe default maximum number of metadata-only conflict retries.DEFAULT_METADATA_ONLY_CONFLICT_INITIAL_BACKOFFThe default initial delay applied before retrying a metadata-only conflict.DEFAULT_METADATA_ONLY_CONFLICT_MAX_BACKOFFThe default upper bound on metadata-only conflict retry backoff.
