I have a situation where i want to maintain my own global table structure. Essentially, Global Store is linked to a processor and i use some calculations to create key and then store it to key-value store.
Since global state store doesn’t have change log topic, it uses original topic as change log. And in case of state restore, it just loads the topic data to global table (which will be wrong) since we constructed our own key & value.
Topic Data
Key, value
1234,abcd
4567,defg
StateStore
Key, value
12ab, abcd
45de, defg
My requirement is to create a global store with my custom keys ( not the one which comes directly from topic). Any solution ?
The following link answers my question Kafka streams use cases for add global store