dongnuo123 commented on code in PR #15818:
URL: https://github.com/apache/kafka/pull/15818#discussion_r1583571521


##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/runtime/CoordinatorResult.java:
##########
@@ -44,8 +44,8 @@ public class CoordinatorResult<T, U> {
     private final CompletableFuture<Void> appendFuture;
 
     /**
-     * The boolean indicating whether to replay the records. Without 
specifying.
-     * The default value is {@code appendFuture == null}.
+     * The boolean indicating whether to replay the records.
+     * The default value is {@code true} unless specified otherwise.
      */
     private final Boolean replayRecords;

Review Comment:
   Then let's go with `replayRecords ? 1 : 0`. I guess it doesn't matter.



-- 
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

Reply via email to