Parkerhiphop commented on code in PR #24239:
URL: https://github.com/apache/kafka/pull/24239#discussion_r4650767827
##########
clients/src/main/java/org/apache/kafka/common/record/internal/DefaultRecordBatch.java:
##########
@@ -317,6 +315,13 @@ public void close() {}
};
}
+ /**
+ * Retained for compatibility with {@link Iterable}.
+ *
+ * @deprecated Use {@link #streamingIterator(BufferSupplier)} and close
the returned iterator
+ * to avoid collecting compressed records into an intermediate
list.
+ */
+ @Deprecated
Review Comment:
Okay! I drop them with the latest commit. Let's see!
--
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]