mirror of https://github.com/apache/kafka.git
MINOR: Add documentation to describe default quotas for user and client-id (#19184)
Add documentation to describe default quotas for user and client-id, which were previously missing. Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
811761707c
commit
52061bf4aa
|
|
@ -489,6 +489,13 @@ Configs for user-principal 'user1' are producer_byte_rate=1024,consumer_byte_rat
|
|||
Describe quota for a given client-id:
|
||||
<pre><code class="language-bash">$ bin/kafka-configs.sh --bootstrap-server localhost:9092 --describe --entity-type clients --entity-name clientA
|
||||
Configs for client-id 'clientA' are producer_byte_rate=1024,consumer_byte_rate=2048,request_percentage=200</code></pre>
|
||||
Describe default quota for user:
|
||||
<pre><code class="language-bash">$ bin/kafka-configs.sh --bootstrap-server localhost:9092 --describe --entity-type users --entity-default
|
||||
Quota configs for the default user-principal are consumer_byte_rate=2048.0, request_percentage=200.0, producer_byte_rate=1024.0</code></pre>
|
||||
Describe default quota for client-id:
|
||||
<pre><code class="language-bash">$ bin/kafka-configs.sh --bootstrap-server localhost:9092 --describe --entity-type clients --entity-default
|
||||
Quota configs for the default client-id are consumer_byte_rate=2048.0, request_percentage=200.0, producer_byte_rate=1024.0</code></pre>
|
||||
|
||||
If entity name is not specified, all entities of the specified type are described. For example, describe all users:
|
||||
<pre><code class="language-bash">$ bin/kafka-configs.sh --bootstrap-server localhost:9092 --describe --entity-type users
|
||||
Configs for user-principal 'user1' are producer_byte_rate=1024,consumer_byte_rate=2048,request_percentage=200
|
||||
|
|
|
|||
Loading…
Reference in New Issue