guozhangwang commented on code in PR #13179:
URL: https://github.com/apache/kafka/pull/13179#discussion_r1097746204
##########
streams/src/main/java/org/apache/kafka/streams/processor/StateRestoreListener.java:
##########
@@ -37,6 +40,11 @@
* These two interfaces serve different restoration purposes and users should
not try to implement both of them in a single
* class during state store registration.
*
+ * <p>
+ * Also note that standby tasks restoration process are not monitored via this
interface, since a standby task keep
Review Comment:
ack
##########
streams/src/main/java/org/apache/kafka/streams/processor/StateRestoreListener.java:
##########
@@ -85,4 +93,17 @@ void onRestoreEnd(final TopicPartition topicPartition,
final String storeName,
final long totalRestored);
+ /**
+ * Method called when restoring the {@link StateStore} is suspended due to
the task being migrated out of the host.
+ * If the migrated task is recycled or re-assigned back to the current
host, another
+ * {@link #onRestoreStart(TopicPartition, String, long, long)} would be
called.
+ *
+ * @param topicPartition the TopicPartition containing the values to
restore
Review Comment:
ack
--
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]