Package org.apache.kafka.server.quota
Interface ClientQuotaEntity.ConfigEntity
- Enclosing interface:
- ClientQuotaEntity
public static interface ClientQuotaEntity.ConfigEntity
Interface representing a quota configuration entity. Quota may be
configured at levels that include one or more configuration entities.
For example, {user, client-id} quota is represented using two
instances of ConfigEntity with entity types USER and CLIENT_ID.
-
Method Summary
Modifier and Type Method Description ClientQuotaEntity.ConfigEntityType
entityType()
Returns the type of this entity.String
name()
Returns the name of this entity.
-
Method Details
-
name
String name()Returns the name of this entity. For default quotas, an empty string is returned. -
entityType
ClientQuotaEntity.ConfigEntityType entityType()Returns the type of this entity.
-