mirror of https://github.com/apache/kafka.git
This PR adds the logic to preserve the ThrottlingQuotaExceededException when topics are retried. The throttleTimeMs is also adjusted accordingly as the request could remain pending or in-flight for quite a long time. Have run various tests on clusters with enabled quotas and I, indeed, find it better to preserve the exception. Otherwise, the caller does not really understand what is going on. This allows the caller to take the appropriate measure and also to take the throttleTimeMs into consideration. Reviewers: Rajini Sivaram <rajinisivaram@googlemail.com> |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||