Class ObjectStoreConfig

  • All Implemented Interfaces:

    
    public final class ObjectStoreConfig
    
                        

    Configuration for a JetStream Object Store bucket

    Example:

    val objectStore = js.objectStore("file-storage") {
        description = "Application file storage"
        storageType = StorageType.FILE
        replicas = 3
        maxBucketSize = 10 * 1024 * 1024 * 1024L // 10GB
    }