mirror of https://github.com/apache/kafka.git
This PR fixes the thread idle ratio. We take a similar approach to the kafka request handler idle ratio: https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/server/KafkaRequestHandler.scala#L108-L117 Instead of calculating the actual ratio per thread, we record the time each thread stays idle while waiting for a new event, divided by the number of threads as an approximation. Reviewers: David Jacot <djacot@confluent.io> |
||
---|---|---|
.. | ||
src | ||
.gitignore |