Reputation: 352
I had one question on the byte-rate quota management in Confluent Kafka. When we use use config like:
/kafka-configs-zookeeper host1:2181,host2:2181,host3:2181 --alter --add-config
'producer_byte_rate=1024, consumer_byte_rate=2048, request percentage=50' -entity-type clients-entity-name client1
I have understood say request percentage is 50 then each will get 50% of the quota window for request handler & network threads
In scenario, If there are 5 applications using the same clientID client1 for producing & consuming from the cluster, then how would the producer_byte_rate, consumer_byte_rate & request_percentage parameter come into play?
Upvotes: 1
Views: 1641
Reputation: 46
When you define a client ID as a quota group, no matter how many applications are configured with that value, as the official documentation says, "all connections of a quota group share the quota configured for the group". So, there are no slices of quotas among the applications using the same client ID, and as soon as the quota value has been reached, all applications will get throttled in that quota window.
Upvotes: 2