Skip to content

aeyalcinoglu/grover-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grover Take-Home Test

I was asked to solve an assignment for the SWE - Risk & Data position. For some notes see thought-process.md. You can find the resulting csv files in data/final-results.

How to build

I am using the build.sh script in the build directory, but it needs to be slightly adjusted, since it's using miniconda as the environment management system. Look at this script to see what's going on.

How to build without it:

  • We will use the kafka-docker image as the docker image for Apache Kafka. Clone the source repository and replace the docker-compose.yml with the one in the build directory. Then run docker-compose up .
  • Python version is 3.8, need to have faust and confluent-kafka modules. See the requirements.txt in the build directory.
  • Go into the src directory and put the data into the broker by running python produce.py. After it's done, run the program by faust -A process worker -l info. Results can be found in data/results.

About

Solving an assignment with Kafka

Resources

Stars

Watchers

Forks