Make sure you have the docker running and then point the docker-compose file attached and execute the command below
cd go-kafka-redis-async
docker-compose up -d
docker run -d --name redis-stack-server -p 6379:6379 redis/redis-stack-server:latest
go get "github.com/google/uuid
go get github.com/redis/go-redis/v9
go get github.com/Shopify/sarama
go run main.go
localhost:8080/api/post
localhost:8080/api/get