Package org.apache.kafka.common.quota
Class ClientQuotaEntity
java.lang.Object
org.apache.kafka.common.quota.ClientQuotaEntity
public class ClientQuotaEntity extends Object
Describes a client quota entity, which is a mapping of entity types to their names.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ClientQuotaEntity(Map<String,String> entries)
Constructs a quota entity for the given types and names. -
Method Summary
-
Field Details
-
USER
The type of an entity entry.- See Also:
- Constant Field Values
-
CLIENT_ID
- See Also:
- Constant Field Values
-
IP
- See Also:
- Constant Field Values
-
-
Constructor Details
-
ClientQuotaEntity
Constructs a quota entity for the given types and names. If a name is null, then it is mapped to the built-in default entity name.- Parameters:
entries
- maps entity type to its name
-
-
Method Details