Hi Zhangrucong, Sliding windows only support time-based slide. So your use-case is not supported out-of-the-box.
But, if you describe a bit more what you want to do, we may be able to find a way together to do your job using the currently offered functionality. Kostas > On Oct 11, 2016, at 1:20 PM, Zhangrucong <zhangruc...@huawei.com> wrote: > > Hello everyone: > Now, I am want to use DataStream sliding window API. I look at the API and > I have a question, dose the sliding time window support sliding by every > incoming event? > > Thanks in advance!