Radiancebobo commented on code in PR #24235:
URL: https://github.com/apache/kafka/pull/24235#discussion_r4642408112


##########
share-coordinator/src/main/java/org/apache/kafka/coordinator/share/ShareCoordinatorShard.java:
##########
@@ -540,7 +540,9 @@ public CoordinatorResult<DeleteShareGroupStateResponseData, 
CoordinatorRecord> d
     }
 
     /**
-     * This method writes a share snapshot records corresponding to the 
requested share partition.
+     * Initializes or resets the state of the requested share partition.
+     * If state already exists at the requested state epoch, it is preserved 
regardless of the
+     * requested offset and no record is written. Resetting existing state 
requires a higher state epoch.
      * <p>
      * This method as called by the ShareCoordinatorService will be provided 
with
      * the request data for a single share partition (group, topicId and 
partition data).

Review Comment:
   OK



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