Skip to content

Commit

Permalink
KAFKA-13430: Remove broker-wide quota properties from the documentati…
Browse files Browse the repository at this point in the history
…on (apache#11463)

Reviewers: David Jacot <djacot@confluent.io>
  • Loading branch information
dongjinleekr committed Nov 4, 2021
1 parent 01e6a6e commit 9d305c7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions docs/design.html
Expand Up @@ -621,10 +621,6 @@ <h4 class="anchor-heading"><a id="design_quotasconfig" class="anchor-link"></a><
<li>/config/clients/&lt;client-id&gt;</li>
<li>/config/clients/&lt;default&gt;</li>
</ol>
<p>
Broker properties (quota.producer.default, quota.consumer.default) can also be used to set defaults of network bandwidth quotas for client-id groups. These properties are being deprecated and will be removed in a later release.
Default quotas for client-id can be set in Zookeeper similar to the other quota overrides and defaults.
</p>
<h4 class="anchor-heading"><a id="design_quotasbandwidth" class="anchor-link"></a><a href="#design_quotasbandwidth">Network Bandwidth Quotas</a></h4>
<p>
Network bandwidth quotas are defined as the byte rate threshold for each group of clients sharing a quota.
Expand Down
5 changes: 0 additions & 5 deletions docs/ops.html
Expand Up @@ -518,11 +518,6 @@ <h4 class="anchor-heading"><a id="quotas" class="anchor-link"></a><a href="#quot
<pre class="line-numbers"><code class="language-bash"> > bin/kafka-configs.sh --bootstrap-server localhost:9092 --describe --entity-type users --entity-type clients
Configs for user-principal 'user1', default client-id are producer_byte_rate=1024,consumer_byte_rate=2048,request_percentage=200
Configs for user-principal 'user1', client-id 'clientA' are producer_byte_rate=1024,consumer_byte_rate=2048,request_percentage=200</code></pre>
<p>
It is possible to set default quotas that apply to all client-ids by setting these configs on the brokers. These properties are applied only if quota overrides or defaults are not configured in Zookeeper. By default, each client-id receives an unlimited quota. The following sets the default quota per producer and consumer client-id to 10MB/sec.
<pre class="line-numbers"><code class="language-text"> quota.producer.default=10485760
quota.consumer.default=10485760</code></pre>
Note that these properties are being deprecated and may be removed in a future release. Defaults configured using kafka-configs.sh take precedence over these properties.

<h3 class="anchor-heading"><a id="datacenters" class="anchor-link"></a><a href="#datacenters">6.2 Datacenters</a></h3>

Expand Down

0 comments on commit 9d305c7

Please sign in to comment.