Re: SessionWindows type base class

2018-12-23 Thread Boyang Chen
yep this is great, thanks Mattihas! Get Outlook for iOS<https://aka.ms/o0ukef> From: Matthias J. Sax Sent: Sunday, December 23, 2018 11:27 AM To: dev@kafka.apache.org Subject: Re: SessionWindows type base class `Windows` is not a generic window type f

Re: SessionWindows type base class

2018-12-23 Thread Matthias J. Sax
`Windows` is not a generic window type for all windows. It's only used for windows that can be "pre computed", ie, the window boundaries are know a-priory (like TimeWindow or UnlimitedWindow). We need to distinguish between TimeWindow/UnlimitedWindow and SessionWindows in the API. There are two ov

SessionWindows type base class

2018-12-22 Thread Boyang Chen
Hey there, I was working on some KTable API related stuff and noticed something a little bit confusing. For class SessionWindows that defines the spec for a session window, it doesn't have a base class: public final class SessionWindows On the other hand, the `TimeWindows` class is subclass of