Challenge Overview
Challenge Objectives
-
Fix a bug in the current implementation on a set of node.js processors.
Project Background
We’re in the process of revamping our platform and adding support to store more information about our users as traits in order to improve the overall user experience in our platform.
Technology Stack
-
Node.js
-
Kafka
-
Docker and Docker Compose
-
AWS
Code Access
You will work on the following repos:
-
https://github.com/topcoder-platform/submission-processor-es
-
https://github.com/topcoder-platform/submission-quality-processor
-
https://github.com/topcoder-platform/submission-scanner-processor
Use the develop branch in all repos.
Detailed requirement
Bug fix requirements
The current implementation suffers from a bug that when the processor is brought down for some time, messages received during that time won’t be processed when the processor is restarted.
The consumer commits the offset to zookeeper but when the processor starts it picks the latest offset instead of the committed offset.
This needs to be fixed in all the processors mentioned in the code access section.
Feel free to ask on the challenge forum!
What to Submit
Submit:
-
Git patch for the latest commit in the develop branch of each repo from the code access section. Make sure to note the exact commit you used so the reviewers can apply your patch file.
-
Instructions on how to apply your patch and test your submission.