use of org.apache.samza.storage.BlobStoreAdminFactory in project samza by apache.
the class BlobStoreStateBackendFactory method getAdmin.
@Override
public StateBackendAdmin getAdmin(JobModel jobModel, Config config) {
BlobStoreConfig blobStoreConfig = new BlobStoreConfig(config);
String stateBackendAdminFactory = blobStoreConfig.getBlobStoreAdminFactory();
BlobStoreAdminFactory factory = ReflectionUtil.getObj(stateBackendAdminFactory, BlobStoreAdminFactory.class);
return factory.getStateBackendAdmin(config, jobModel);
}
Aggregations