简体   繁体   中英

Kafka Streams KTable join Tombstone

The problem i am facing is we have joins and have multiple logical ways to product a tombstone for deleting a record in the KTable.

Is it possible to determine of if a tombstone was a result of ktable join and not not an explicit tombstone?

One way I can think of differentiating the tombstones ie one occurring as part of the ktable join and another one sent as an explicit tombstone is to set an extra header attribute in the explicit tombstone message and the consumer can then read those header to determine the source of tombstone.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM