Migrate submission queue from Kafka to Redis, fix round timer#151
Open
Youmanvi wants to merge 3 commits into
Open
Migrate submission queue from Kafka to Redis, fix round timer#151Youmanvi wants to merge 3 commits into
Youmanvi wants to merge 3 commits into
Conversation
Both central-service and worker-service now speak the same Redis-backed queue instead of central-service alone switching away from Kafka, which was silently breaking the submission pipeline end-to-end. Drops Kafka entirely: confluent-kafka-go, the standalone kafka-queue module, librdkafka Docker build steps, and all KAFKA_* env vars/services. The queue uses the reliable-queue pattern (BLMOVE into a per-queue processing list, Ack/Requeue/Recover) instead of plain BLPOP, so a crash mid-processing no longer silently drops a submission verdict. Also fixes the round timer's idle/expired state rendering "00:00:00" while the running state renders "MM:SS".
# Conflicts: # docker-compose.yml
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Eskan0r
self-requested a review
July 25, 2026 03:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
central-serviceandworker-servicenow speak the same Redis-backed queue instead of only one side switching, which was silently breaking submission grading end-to-end.confluent-kafka-go, the standalonekafka-queuemodule, librdkafka Docker build steps, and allKAFKA_*env vars/services (broker, zookeeper) from docker-compose.Test plan
go build ./...,go vet ./...,go test ./...pass for central-service, worker-service, and rtc-serviceGOWORK=off(matches its Docker build context)