jsancio commented on code in PR #12457:
URL: https://github.com/apache/kafka/pull/12457#discussion_r938103850


##########
raft/src/main/java/org/apache/kafka/raft/internals/RecordsIterator.java:
##########
@@ -179,7 +184,12 @@ private Optional<Batch<T>> nextBatch() {
         return Optional.empty();
     }
 
-    private Batch<T> readBatch(DefaultRecordBatch batch) {
+    private Batch<T> readBatch(DefaultRecordBatch batch) throws 
CorruptRecordException {

Review Comment:
   `CorruptRecordException` is a runtime exception and doesn't need to be added 
to the set of checked exceptions.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to