StackExchange Redis Saga Persistence for MassTransit
This library uses StackExchange.Redis
to connect to your redis instance. Refer to the StackExchange.Redis Documentation for more detail on configuring your client.
Install using nuget: Install-Package MassTransit.RedisSagas
The repository constructor requires StackExchange.Redis.IConnectionMultiplexer
this is an expensive object to create and you should hold this object or make a singleton with your container.
builder.Register(cx => ConnectionMultiplexer.Connect("localhost"))
.As<IConnectionMultiplexer>()
.SingleInstace();