Skip to content

feat: custom kafka stream join window #6419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

RobertSamoilescu
Copy link
Contributor

@RobertSamoilescu RobertSamoilescu commented Apr 23, 2025

What this PR does / why we need it:
Currently, the joinWindowMs for Kafka Streams provided in the manifest file are not passed to the dataflow engine. Dataflow engine uses a predefined value for the length of the joining window (60s). For a pipeline with cycles, this might results in an infinite loop.

This PR allows the user to pass a custom value for joinWindowMs which will be then used by the dataflow engine for the given pipeline, and thus infinite loop scenarios as above can be avoided.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Copy link
Member

@lc525 lc525 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thank you for implementing this!

@RobertSamoilescu RobertSamoilescu changed the title feat: custom kakfa stream join window feat: custom kafka stream join window May 2, 2025
@RobertSamoilescu RobertSamoilescu merged commit d143a9d into SeldonIO:v2 May 2, 2025
6 checks passed
jtayl222 pushed a commit to jtayl222/seldon-core that referenced this pull request Jul 20, 2025
* Included support for custom join window millis

* Pass JoinWindowMs in PipelineStepUpdate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants