August 2017
Beginner to intermediate
278 pages
6h 40m
English
KTable is a representation of Changelog, which does not contain a record with the same key twice. This means that if KTable encounters a record with the same key in the table, it will simply replace the old record with the current record.
If the same record represented in the previous diagram for KStream is converted to KTable, it will look like this:

In the previous figure, you can see that the records of Rahul and Ajay have been updated and the old entries have been removed. KTable is similar to the update operation in Map. Whenever a duplicate key is inserted, the old value gets replaced by a new value. ...
Read now
Unlock full access