Service Fabric Persistence

Project Hosting
NuGet Package NServiceBus.Persistence.ServiceFabric (2-pre)
Target NServiceBus Version: 7.x
This page targets a pre-release version and is subject to change prior to the final release.

A persister built on top of Service Fabric Reliable Collections.

Usage

Add a NuGet package reference to NServiceBus.Persistence.ServiceFabric. Configure the persistence technology using the following configuration API.

var persistence = endpointConfiguration.UsePersistence<ServiceFabricPersistence>();
persistence.StateManager(reliableStateManager);

Limitations

Storage types

Currently saga and outbox storage types are supported. For timeouts, subscriptions or gateway deduplication use either the native capability of the transport of choice or another persistence such as Azure Storage Persistence or In-Memory persistence.

Viewing the data

Currently, Service Fabric does not provide capabilities to view the data that is stored inside reliable collections. The data has to be programmatically accessed and exposed over customized infrastructure.

Data also should be backed up and restored to avoid data loss. See Service Fabric backup and restore APIs.

Samples

Related Articles


Last modified