Why does the topic need to be compacted after every new message?
The only optiosn you have is to set the threshold to a reasonably low value to quickly trigger it or you can manually trigger the compaction too.
g
Ganesh
02/13/2024, 8:17 PM
The topic will have only meta information and will be updated once in a while when the end user makes some changes to their profile. hence the tableview need to be updated whenever an update is received.
a
Alexander Preuß
02/13/2024, 8:19 PM
The TableView reads the topic continuously and will always return the latest key, independent of topic compaction, meaning if compaction happens at a later point the tableview will still return the correct key-value-pair
g
Ganesh
02/13/2024, 10:42 PM
Yes! you are right. I tested it now and it is working great. But this information was not clear in the documentation. Thank you!