StoreChangeLogger
is created when the following state stores are requested to initialize:
StoreChangeLogger
takes the following to be created:
-
Name of a state store
StoreChangeLogger
initializes the internal properties.
void logChange(K key, V value) // (1)
void logChange(K key, V value, long timestamp)
-
Uses the ProcessorContext for the timestamp
logChange
simply requests the RecordCollector to send the key and the value to the topic and the partition (using the keySerializer and the valueSerializer).
Note
|
|
Name | Description |
---|---|
|
Used exclusively when |
|
The name of the changelog topic (given the application ID and the store name) Used when…FIXME |