Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To breakdown, the TopN operator is aiming at globally sort all the emitted key-value pairs from upstream operator, and only retain the top N values within its state as a KTable. We also see cases where the TopN query is partitioned, such as a salesperson wants to know the best sellers in different categories.      Considering the nature of ever updating streams, it is also necessary to support windowed TopN as well.

Compatibility, Deprecation, and Migration Plan

...