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
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to