go-worker-pool

Default cfg

export CONSUMER_POOL_SIZE=2
export PRODUCER_POOL_SIZE=2

Local Testing

Prerequisites

Steps

1. Clone repository
2. Goto repo directory
3. Run Command : go get
4. Run Command :  go run main.go
  • Note: You can change environment variables as per your requirements.