io.quarkiverse.minio.client.MinioRecorder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-minio Show documentation
Show all versions of quarkus-minio Show documentation
Integrates MinIO Java SDK for Amazon S3 Compatible Cloud Storage
The newest version!
package io.quarkiverse.minio.client;
import java.util.function.Supplier;
import io.minio.MinioAsyncClient;
import io.minio.MinioClient;
import io.quarkus.runtime.annotations.Recorder;
@Recorder
public class MinioRecorder {
public Supplier minioClientSupplier(String minioClientName,
@SuppressWarnings("unused") MiniosRuntimeConfiguration minioRuntimeConfig) {
return () -> MinioClients.fromName(minioClientName);
}
public Supplier minioAsyncClientSupplier(String minioClientName,
@SuppressWarnings("unused") MiniosRuntimeConfiguration minioRuntimeConfig) {
return () -> MinioClients.fromNameAsync(minioClientName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy