I have a frequently changing and large amount of objects, and I need to maintain kind of state table for each object. I'm considering to use a KTable for each object, but I'm kind of worried about the overhead that this structure would bring with it.
In that sense, what is the expected "overhead" of a KTable, when each object would get it's own topic and table, where objects would otherwise not get each its own topic? For example, how much memory does a topic with KTable consume?
To make an example (these are not actual numbers, just the relativen numbers is similar to what I'm looking for):
- 1M objects, each object has a topic with one partition
- 20 producers, 20 consumers
- message size 1kb
- update rate 100k messages per second