rondagostino commented on a change in pull request #9030:
URL: https://github.com/apache/kafka/pull/9030#discussion_r455792482



##########
File path: 
clients/src/main/java/org/apache/kafka/common/requests/DescribeClientQuotasResponse.java
##########
@@ -66,10 +66,11 @@ public DescribeClientQuotasResponse(Map<ClientQuotaEntity, 
Map<String, Double>>
     }
 
     public DescribeClientQuotasResponse(int throttleTimeMs, Throwable e) {
+        ApiError apiError = ApiError.fromThrowable(e);

Review comment:
       Should the same thing happen in `public 
AlterClientQuotasResponse(Collection<ClientQuotaEntity> entities, int 
throttleTimeMs, Throwable e)` for consistency?  And also maybe in 
`IncrementalAlterConfigsResponse` (`public static 
IncrementalAlterConfigsResponseData toResponseData`)?




----------------------------------------------------------------
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