You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "bbejeck (via GitHub)" <gi...@apache.org> on 2026/01/08 22:51:06 UTC

Re: [PR] KAFKA-19434: Startup state stores initialization [kafka]

bbejeck commented on code in PR #20749:
URL: https://github.com/apache/kafka/pull/20749#discussion_r2674152338


##########
streams/src/main/java/org/apache/kafka/streams/processor/StateStore.java:
##########
@@ -71,6 +71,8 @@ public interface StateStore {
      */
     void init(final StateStoreContext stateStoreContext, final StateStore root);
 
+    default void preInit(final StateStoreContext stateStoreContext) {}
+

Review Comment:
   Missed this before - what's the functionality of `preInit` vs. `init`



-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org