Prashant Bhardwaj created FLINK-37655:
-----------------------------------------
Summary: Convert WindowStagger into an interface for easy
extensibility
Key: FLINK-37655
URL: https://issues.apache.org/jira/browse/FLINK-37655
Project: Flink
Issue Type: Improvement
Components: API / Core
Affects Versions: 2.0.0
Reporter: Prashant Bhardwaj
To provide users the flexibility to implement custom window staggering
behaviours beyond the standard options ({{{}ALIGNED{}}}, {{{}RANDOM{}}},
{{{}NATURAL{}}}), we should convert the {{WindowStagger}} enum into an
interface. The current enum structure restricts extension because enums are
final. By adopting an interface, we allow users to define and plug in their own
staggering strategies, catering to more diverse use cases. The original enum
constants will be provided as default implementations of this new interface.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)