The StatsReceiver for collecting stats
the name of the StateStore used to maintain the counts.
the name of the StateStore used to maintain the timers.
splits the stream of data into buckets of data of windowSize, based on the timestamp of each message.
allow messages that are upto this amount late to be added to the store, otherwise they are emitted as restatements.
Initializer function that computes an initial intermediate aggregation result
Aggregator function that computes a new aggregate result
Emit messages for each entry in the window when the window close. Emitted entries will have a WindowResultType set to WindowClosed.
allow state to be queried upto this amount after the window is closed.
Emit messages for each updated entry in the window on the Kafka Streams commit interval. Emitted entries will have a WindowResultType set to WindowOpen.
Lookup a caching key value store by name
Lookup a caching key value store by name
Type of keys in the store
Type of values in the store
The name of the store
A caching key value store
Callback method which is called for every message in the stream this Transformer is attached to.
Callback method which is called for every message in the stream this Transformer is attached to. Implementers of this method may emit 0 or more records by using the processorContext.
the key of the message
the value of the message
The StatsReceiver for collecting stats
The StatsReceiver for collecting stats
Use error, warn, info, debug, or trace methods directly
An aggregating transformer for fixed windows which offers additional controls that are not included in the built in Kafka Streams Windowing DSL
A TimeWindow is a tumbling window of fixed length defined by the windowSize parameter.
A Window is closed after event time passes the end of a TimeWindow + allowedLateness.
After a window is closed, if emitOnClose=true it is forwarded out of this transformer with a WindowedValue.resultState of com.twitter.finatra.streams.transformer.domain.WindowClosed
If a record arrives after a window is closed it is immediately forwarded out of this transformer with a WindowedValue.resultState of com.twitter.finatra.streams.transformer.domain.Restatement
a stream of Keys for a particular timewindow, and the aggregations of the values for that key within a particular timewindow.