Closed alonpr closed 2 years ago
@mjsax , do you know ?
The sink topic cannot be used as changelog (it's a limitation of Kafka Streams: https://issues.apache.org/jira/browse/KAFKA-6035).
Thus, the topic in question is the changelog of the final result of the query. (Closing this. Feel free to follow up if you have more questions.)
@mjsax I'm just trying to wrap my head around it, why the final result of the query needs a changelog? Is the sink topic considered by Streams as a state store? And if so, is it for the purpose of during a recovery to recover the final result of the query also from a changelog instead of re-running the query on recovered state stores upstream in the topology?
What's the purpose behind the *-Project-Last-changelog internal topic in table-table joins? It looks like writing into it happens just before writing into the sink topic so what state store basically this changelog topic backs?