Is it possible to get the latest value for a message key from kafka messages
问题 Suppose I have different values for a same message key. For example: { userid: 1, email: user123@xyz.com } { userid: 1, email: user456@xyz.com } { userid: 1, email: user789@xyz.com } In this above case I want only the latest value updated by the user, that is, 'user789@xyz.com'. My kafka stream should give me only the third value and not the previous 2 values. 回答1: Since you've not specified a particular client, I'll show you how this can be done with ksqlDB and the newly-added function,