feat(official-bots): consume GameOver stream for bot cleanup #67

Merged
Janis merged 1 commits from feat/NCS-103-officialbot-gameover-stream into main 2026-06-09 21:49:42 +02:00

1 Commits

Author SHA1 Message Date
Janis 89c6a7ea78 feat(official-bots): consume GameOver stream for bot cleanup
Build & Test (NowChessSystems) TeamCity build finished
Add consumer group official-bots-game-over on {prefix}:game-over stream.
Track pub/sub subscribers per gameId in gameWatches map. On GameOver event,
unsubscribe from the game s2c channel and remove from watch map.
XACK after cleanup; DLQ after maxRetries failures.

Closes NCS-103
https://knockoutwhist.youtrack.cloud/issue/NCS-103
2026-06-09 20:10:52 +02:00