@nats-io/obj
    Preparing search index...

    Type Alias ObjectStoreOptions

    type ObjectStoreOptions = {
        compression?: boolean;
        description?: string;
        max_bytes: number;
        metadata?: Record<string, string>;
        placement: Placement;
        replicas: number;
        storage: StorageType;
        ttl?: Nanos;
    }
    Index

    Properties

    compression?: boolean

    Sets the compression level of the stream. This feature is only supported in servers 2.10.x and better.

    description?: string

    A description for the object store

    max_bytes: number

    The maximum amount of data that the object store should store in bytes.

    metadata?: Record<string, string>
    placement: Placement

    Placement hints for the underlying object store stream

    replicas: number

    The number of replicas to create.

    storage: StorageType

    The underlying stream storage type for the object store.

    ttl?: Nanos

    The time to live for entries in the object store specified as nanoseconds. Use the nanos() function to convert millis to nanos.