Marcos Passos created KAFKA-8829: ------------------------------------ Summary: Provide factories for creating Window instances Key: KAFKA-8829 URL: https://issues.apache.org/jira/browse/KAFKA-8829 Project: Kafka Issue Type: New Feature Affects Versions: 2.3.0 Reporter: Marcos Passos
The API provides no ways to create {{Window}} instances without relying on internal classes. The issue becomes more evident when using session stores as both {{put}} and {{remove}} methods expects a windowed key, but the API does not expose any way to create a proper session-windowed key in the userland, leaving the developer with two choices: a) implement a window that duplicates the logic of {{SessionWindow}} or b) relies on the {{SessionWindow}}, which is an internal class. -- This message was sent by Atlassian Jira (v8.3.2#803003)