dajac commented on a change in pull request #11331: URL: https://github.com/apache/kafka/pull/11331#discussion_r743046927
########## File path: clients/src/main/java/org/apache/kafka/common/requests/FetchRequest.java ########## @@ -66,16 +69,28 @@ public PartitionData( int maxBytes, Optional<Integer> currentLeaderEpoch ) { - this(fetchOffset, logStartOffset, maxBytes, currentLeaderEpoch, Optional.empty()); + this(Uuid.ZERO_UUID, fetchOffset, logStartOffset, maxBytes, currentLeaderEpoch, Optional.empty()); Review comment: Yeah, that's a good question. I guess that that constructor is convenient for tests but might be bug prone in the regular code. I am tempted to remove it entirely.... What do you think? -- 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-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org