This project is a basic example of a publisher and consumers of a redis stream
Start a local redis with :
docker run --name localredis -d redis redis-server --appendonly yes
The publisher sends 3000 messages to the redis stream
cd publisher
go run main.go
The consumer reads all the pending messages in the stream then aknowledges them
cd consumer
go run main.go