I am doing a kaafka assignment and the task is to generate random messages by players for given seasons/rounds/game.
There is a consumer which listens to all these messages and will keep track of the scoring logic. Once the scoring is done, it will publish the score to a final topic.
Now the question i am getting confuse at is how does my score calculator would know that ALL scores from players have been received before publishing the final score?