mirror of https://github.com/apache/kafka.git
KAFKA-13430: Remove broker-wide quota properties from the documentation (#11463)
Reviewers: David Jacot <djacot@confluent.io>
This commit is contained in:
parent
01e6a6ebf2
commit
9d305c79d3
|
@ -621,10 +621,6 @@
|
|||
<li>/config/clients/<client-id></li>
|
||||
<li>/config/clients/<default></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.
|
||||
|
|
|
@ -518,11 +518,6 @@
|
|||
<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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue