Class AuthorizerConfig
java.lang.Object
org.apache.kafka.server.authorizer.AuthorizerConfig
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAclCountMetric(String tenantId) buildAclTags(String tenantId) voiddecrementTenantAclCount(String tenantId) intvoiddeleteAclCountMetric(String tenantId) intgetTenantAclCount(String tenantId) voidincrementTenantAclCount(String tenantId) voidloadNewTenantIdToAclCount(Map<String, Integer> newTenantIdToAclCount) intvoidsetDefaultMaxAcls(Integer maxAcls) voidsetMetrics(Metrics metrics) voidsetTenantConfigSource(org.apache.kafka.server.multitenant.TenantConfigSource source) Late-bind the per-tenant config source consulted bymaxAcls(String).voidsetTenantMaxAcls(Optional<String> tenantIdOpt, Optional<Integer> maxAcls)
-
Field Details
-
DEFAULT_MAX_ACLS_PER_TENANT_PROP
public static final int DEFAULT_MAX_ACLS_PER_TENANT_PROP- See Also:
-
TENANT
- See Also:
-
MAX_ACLS
- See Also:
-
CREATED_ACLS_COUNT_PER_TENANT
- See Also:
-
AUTHORIZER_METRICS_GROUP_NAME
- See Also:
-
-
Constructor Details
-
AuthorizerConfig
public AuthorizerConfig()
-
-
Method Details
-
setTenantMaxAcls
-
addAclCountMetric
-
deleteAclCountMetric
-
buildAclTags
-
incrementTenantAclCount
-
decrementTenantAclCount
-
setDefaultMaxAcls
-
defaultMaxAcls
public int defaultMaxAcls() -
maxAcls
-
setTenantConfigSource
public void setTenantConfigSource(org.apache.kafka.server.multitenant.TenantConfigSource source) Late-bind the per-tenant config source consulted bymaxAcls(String). Wired by BrokerServer/ControllerServer once the broker's TenantConfigSource future completes. -
loadNewTenantIdToAclCount
-
getTenantAclCount
-
setMetrics
-