Skip to content

gmrdn/redis-streams-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

redis-streams-go

Why ?

This project is a basic example of a publisher and consumers of a redis stream

Local env

Start a local redis with :

docker run --name localredis -d redis redis-server --appendonly yes

Publisher

The publisher sends 3000 messages to the redis stream

cd publisher
go run main.go

Consumer

The consumer reads all the pending messages in the stream then aknowledges them

cd consumer
go run main.go

About

A short example of event sourcing with Redis Streams and Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages