TRON Blocks Parser
Tron parser for Kattana, requirements:
- One block in one moment of time
- Horizontally scalable
How it works?
Consume messages with block metainformation from kafka feed tron_blocks, parse block,
on success send it to parser.sys.parsed, on failure - send to failed_blocks.
Dependencies
- Redis
- Docker
- Golang 1.18
- Kafka
Configuration
Development:
- Copy .env.example -> .env
- Setup ENV=development
Production:
- Setup ENV variables from .env.example
Run
go build -o ./app ./cmd/main.go
./app