void logChange(K key, V value) (1)
void logChange(K key, V value, long timestamp)
StoreChangeLogger
StoreChangeLogger is created when the following state stores are requested to initialize:
Creating StoreChangeLogger Instance
StoreChangeLogger takes the following to be created:
-
Name of a state store
StoreChangeLogger initializes the internal properties.
logChange Method
-
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
|
|
Internal Properties
| Name | Description |
|---|---|
|
Used exclusively when |
|
The name of the changelog topic (given the application ID and the store name) Used when…FIXME |