Hi Dilini, Can we provide an option here to specify which event to be dropped (i.e. earlier event or the later one)?
On Thu, Aug 25, 2016 at 11:40 AM, Dilini Muthumala <[email protected]> wrote: > Adding architecture list > > On Thu, Aug 25, 2016 at 11:37 AM, Dilini Muthumala <[email protected]> > wrote: > >> Hi all, >> >> As Rajjaz is working on implementing UniqueTimeBatchWindow and >> UniqueLengthBatchWindow, we were discussing below design for the window: >> >> As we know, UniqueTimeBatchWindow can be used to create a batch of >> events, in such a way that the batch does not contain "duplicate events". >> (Here, I say two events are duplicate when those events have equal values >> for a certain attribute. It does not mean that both the events are exactly >> the same) >> >> This means, when we emit current events or expired events from the >> window, those events cannot have duplicate events. >> >> As such, when the window is collecting events to create a batch, >> upon seeing a duplicate event, to keep the uniqueness in the batch, one >> of the duplicates need to be dropped (UniqueTimeBatchWindow keeps the >> latest event in the batch, dropping the event which came earlier). >> >> Any concerns on dropping events in the window? >> >> Thanks, >> Dilini >> >> -- >> *Dilini Muthumala* >> Senior Software Engineer, >> WSO2 Inc. >> >> *E-mail :* [email protected] >> *Mobile: *+94 713-400-029 >> > > > > -- > *Dilini Muthumala* > Senior Software Engineer, > WSO2 Inc. > > *E-mail :* [email protected] > *Mobile: *+94 713-400-029 > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- Malith Jayasinghe WSO2, Inc. (http://wso2.com) Email : [email protected] Mobile : 0770704040 Lean . Enterprise . Middleware
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
