kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Minkovsky <dminkov...@gmail.com>
Subject What is the best way to re-key a KTable?
Date Tue, 23 Jan 2018 17:14:29 GMT
KStream has a simple `#selectKey()` method, but it appears the only way to
re-key a KTable is by doing `.toStream(mapper).groupByKey().reduce()`. Is
this correct? I'm guessing this is because an attempt to re-key a table
might result in multiple values at the new key.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message