chia7712 commented on a change in pull request #9758:
URL: https://github.com/apache/kafka/pull/9758#discussion_r581088681



##########
File path: 
clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java
##########
@@ -290,7 +291,7 @@ public void onSuccess(ClientResponse resp) {
                             Set<TopicPartition> partitions = new 
HashSet<>(response.responseData().keySet());
                             FetchResponseMetricAggregator metricAggregator = 
new FetchResponseMetricAggregator(sensors, partitions);
 
-                            for (Map.Entry<TopicPartition, 
FetchResponse.PartitionData<Records>> entry : 
response.responseData().entrySet()) {
+                            for (Map.Entry<TopicPartition, 
FetchResponseData.FetchablePartitionResponse> entry : 
response.responseData().entrySet()) {

Review comment:
       sure. I reuse the name `PartitionData`




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