79366687

Date: 2025-01-18 07:07:57
Score: 1
Natty:
Report link

If you need to compute something per key in parallel on different machines and compute something for all keys (like an average of counts or n max and n min values) then direct the stream of computed count values as key-value pairs into another topic, that is handled on 1 working JVM instance as a stream computing statistic on counts. The purpose of streams is to make computing per key, which has any business reason. If you need 2-level computations, then you need 2-level topology of computations.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Simon