I have a kafka stream app that utilize a KTable. My app has ran a while so the KTable is already built up.
How do I truncate the KTable (assuming my app can handle rebuilding the table)?
Is stopping my app and also delete data from the changelog topic the correct way? It seems a little complicate I feel there should be a simpler way.
Thank you
KTableis a collection/set of key-value-pairs. What do you try to achieve? Please add more details to your question. - Matthias J. Saxbuilder.table()) or is it a result from an aggregation? Also, how do you decide, when you want to wipe out the data? - Matthias J. Saxbuilder.table()). This is not a frequent operation. It's only for our dev and testing, or maybe if prod got screwed we want to clean it up one time. Thank you for your help. - Suanmeiguo