shashankhs11 commented on code in PR #20285:
URL: https://github.com/apache/kafka/pull/20285#discussion_r2427784311
##########
clients/src/main/java/org/apache/kafka/clients/producer/internals/ProduceRequestResult.java:
##########
@@ -70,7 +75,29 @@ public void done() {
}
/**
- * Await the completion of this request
+ * Add a dependent ProduceRequestResult that must complete before this
result is considered complete.
+ * This is used when a batch is split into multiple batches - the original
batch's result
+ * should not complete until all split batches have completed.
+ *
+ * @param dependentResult The dependent result to wait for
+ */
+ public void addDependentResult(ProduceRequestResult dependentResult) {
Review Comment:
done in 47bd6f5
--
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]