【发布时间】:2021-12-07 01:42:57
【问题描述】:
为租户创建 REST API
import java.util.HashSet;
import org.apache.pulsar.common.policies.data.TenantInfo;
TenantInfo tenantInfo = new TenantInfo(new HashSet<>(adminRoles),new HashSet<>(allowedClusters));
admin.tenants().createTenant(tenantName, tenantInfo);
错误:无法实例化类型 TenantInfo
【问题讨论】:
标签: apache-pulsar