Skip to content

Refactoring TimeWindowingJava, Adding watermarked collections - #4

Merged
ripleyb merged 20 commits into
masterfrom
development
Oct 1, 2026
Merged

ripleyb merged 20 commits into
masterfrom
development

Conversation

@ripleyb

@ripleyb ripleyb commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator
  1. Changed build tooling from Gradle to Maven.

    • To build and install the libraries into your local maven repository, run: mvn clean install
  2. Renamed package and artifact ID:

    • The group is now: com.scaleoutsoftware.collections
    • The artifact ID is now: timewindowing
    • The version is now: 2.0.1
  3. Added abstract class WatermarkedWindowingCollection - this abstract class has three implementations:

    • WatermarkedSlidingWindowCollection
    • WatermarkedTumblingWindowCollection
    • WatermarkedSessionWindowCollection
  4. Added WatermarkGenerator - this abstract class has an implementation:

    • LatenessToleranceWatermarkGenerator
      • This WatermarkGenerator creates a watermark for a watermarked collection with a fixed lateness tolerance
  5. Added WatermarkedSample in the test directory.

    • This sample demonstrates closing windows and event eviction.

Project is still in active development and expected to change
Convert project from Gradle to Maven
Add watermarking to Sliding and Tumbling windows
Add window finalization to SlidingWindowCollection and TumblingWindowCollection
…dowCollection

Adding missing window closed handler registration to session window collection
Adding SessionWindowCollection with Watermarking test
Re-add SlidingWindowCollection, TumblingWindowCollection, and SessionWindowCollection
Created seperate Watermarked-* version of each windowing collection
Refactor tests to have watermarking and non-watermarking tests
Window duration was incorrectly set to the size of the window based on the duration from the window start time to the last elements timestamp and not the assigned duration by the user
Removing WindowClosedHandler, now Watermarked*WindowCollection.add returns a list of closed TimeWindows
Adding startTime to Watermarked*WindowCollection to allow for set window start and end times
Adding unit test for closed empty windows
Adding WindowingCollection and WatermarkedWindowingCollection abstract classes
Removing javadoc warnings
@ripleyb
ripleyb merged commit 70dd776 into master Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant