FairMoney Real Time Streaming & Ingesion Data Platform
- create virtual env
virtualenv venv
- activate the virtual env
source venv/bin/activate
- install dependencies:
pip install -r requirements.txt
- run the python script
python3 main.py
- build docker image
docker build -t remotebank:latest .
- run the docker container
docker run remotebank:latest
-
create docker-compose.yml file write config
-
docker compose up -d
-
set up kafka topic retention policy
docker exec -it redpanda-0 rpk topic alter-config transactions --set retention.ms=86400000
-
add 2 partitions in kafka topic-transactions
docker exec -it redpanda-0 rpk topic add-partitions transactions --num 2