KAFKA-7080 and KAFKA-7222: Cleanup overlapping KIP changes Part 2#5806
KAFKA-7080 and KAFKA-7222: Cleanup overlapping KIP changes Part 2#5806vvcephei wants to merge 2 commits intoapache:trunkfrom vvcephei:fix-missing-segment-interval
Conversation
|
@guozhangwang @mjsax @bbejeck @stanislavkozlovski , This PR is to fix the broken trunk build. It also needs to be included in 2.1 |
|
@vvcephei does |
|
|
||
| private WindowStore<Integer, String> createWindowStore(final ProcessorContext context, final boolean retainDuplicates) { | ||
| final WindowStore<Integer, String> store = Stores.windowStoreBuilder( | ||
| Stores.persistentWindowStore(windowName, retentionPeriod, windowSize, retainDuplicates, segmentInterval), |
There was a problem hiding this comment.
@dguy Yes, this is where I've updated it.
There was a problem hiding this comment.
I think that method is private?? I might have missed somerhing
There was a problem hiding this comment.
It was previously public. #5804 made it private, but did not remove this reference. This is why trunk fails to build right now.
I'm removing this reference and instead calling a public method.
|
Java 8 failure: Java 11 failure: Retest this, please. |
|
Please review the doc / code committed in #5804
It states that |
|
@kamalcph The docs say it was deprecated, not removed, and the the single old |
|
Merging this to trunk to unblock everything else since the trunk build is broken currently. I ran the tests locally, looks like we have just accumulated a lot of flaky tests that are especially flaky on jenkins. |
|
@ewencp thank you! |
|
Thanks, @ewencp! |
|
Or maybe @guozhangwang can |
|
I've pushed to 2.1 as well |
|
Thanks @vvcephei @dguy @ewencp @guozhangwang |
apache#5804 removed `Windows#segmentInterval`, but did not remove all references to it. Author: John Roesler <john@confluent.io> Reviewers: Damian Guy <damian.guy@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io> Closes apache#5806 from vvcephei/fix-missing-segment-interval
#5804 removed
Windows#segmentInterval, but did not remove all references to it.Committer Checklist (excluded from commit message)