jlprat commented on code in PR #15002: URL: https://github.com/apache/kafka/pull/15002#discussion_r1426662947
########## raft/src/main/java/org/apache/kafka/raft/Batch.java: ########## @@ -120,6 +120,19 @@ public String toString() { ')'; } + /** + * @return a descriptive short String of the batch. + */ + public String describe() { + return "Batch(" + + "baseOffset=" + baseOffset + + ", epoch=" + epoch + + ", appendTimestamp=" + appendTimestamp + + ", sizeInBytes=" + sizeInBytes + + ", lastOffset=" + lastOffset + + ')'; + } Review Comment: Done -- 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