You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "jolshan (via GitHub)" <gi...@apache.org> on 2023/03/06 19:41:14 UTC

[GitHub] [kafka] jolshan commented on a diff in pull request #13323: KAFKA-14617; Add ReplicaState to FetchRequest.

jolshan commented on code in PR #13323:
URL: https://github.com/apache/kafka/pull/13323#discussion_r1126944890


##########
clients/src/main/java/org/apache/kafka/common/requests/FetchRequest.java:
##########
@@ -337,8 +362,27 @@ public AbstractResponse getErrorResponse(int throttleTimeMs, Throwable e) {
                 .setResponses(topicResponseList));
     }
 
+    public String clusterId() {
+        return data.clusterId();
+    }
+
+    public List<FetchTopic> topics() {
+        return data.topics();
+    }
+
+    public int maxWaitMs() {
+        return data.maxWaitMs();
+    }

Review Comment:
   The data object is public, so we may just be able to use that.



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

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

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