apovzner opened a new pull request #9317:
URL: https://github.com/apache/kafka/pull/9317


   This PR adds metric to track throttle time of connection accept rate (when 
hitting connection attempt rate quota). This is part of KIP-612:
   
kafka.network:type=socket-server-metrics,name=connection-accept-throttle-time,listener={listenerName}
   Type: SampledStat.Avg
   Description: Average throttle time due to violating per-listener or 
broker-wide connection acceptance rate quota on a given listener.
   
   This PR also reduces quota values used in 
testDynamicListenerConnectionCreationRateQuota test. We observed once that this 
test exhausted ephemeral port count. I reduced quotas used in this test by 
half, since this does not change the correctness of the test, while it also 
reduces the number of connections made by this test.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to