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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClientQuotaEntity.ConfigEntityType
entityType()
Returns the type of this entity.java.lang.String
name()
Returns the name of this entity.
-
-
-
Method Detail
-
name
java.lang.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.
-
-