lihaosky opened a new pull request #11802: URL: https://github.com/apache/kafka/pull/11802
Initial State store implementation for `TimedWindow` and `SlidingWindow`. Changelog restoration and unit tests will be implemented later if direction looks good. [RocksDBTimeOrderedWindowStore.java](https://github.com/apache/kafka/compare/trunk...lihaosky:final-store?expand=1#diff-b174ffbf49b0195880185ff49b98ff3bb0300d35939686aa7772ef84b1f8ba38) contains two state stores: time ordered base store and key ordered index store. One thing to note is that these two stores are separate RocksDB stores. [PrefixedWindowKeySchemas.java](https://github.com/apache/kafka/compare/trunk...lihaosky:final-store?expand=1#diff-1efce76341bb9f0793d5a3fc1fdd05a016fc31db788da8d0597142fa551c4bab) implements keyschema for time ordered base store and key ordered index store. Their key has different prefix even though they are in different stores. Prefix can be dropped if we decided two stores are fine. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- 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