com.twitter.finatra.kafkastreams.internal.utils.sampling
Get the state store given the store name.
Get the state store given the store name.
Key type of the state store
Value type of the state store
The store name
The state store instance
Callback method for when you should flush any cached data.
Callback method for when you should flush any cached data. This method is typically called prior to a Kafka commit
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 time of the message
the key of the message
the value of the message
A Reservoir sampling transformer
See "Random Sampling with a Reservoir", Vitter, 1985