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) 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
-
loadNewTenantIdToAclCount
-
getTenantAclCount
-
setMetrics
-