# RedisStreamingOptions Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.redis/orleans.configuration.redisstreamingoptions/)

## CheckpointPersistInterval {#checkpointpersistinterval-f1dd385d}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.redis/orleans.configuration.redisstreamingoptions/properties/checkpointpersistinterval-f1dd385d/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Redis/Orleans.Streaming.Redis/Streams/RedisStreamingOptions.cs)

```csharp
public TimeSpan CheckpointPersistInterval
```

Gets or sets the interval between checkpoint persistence attempts.

## ConfigurationOptions {#configurationoptions-a1fddcc1}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.redis/orleans.configuration.redisstreamingoptions/properties/configurationoptions-a1fddcc1/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Redis/Orleans.Streaming.Redis/Streams/RedisStreamingOptions.cs)

```csharp
public ConfigurationOptions ConfigurationOptions
```

Gets or sets the Redis client options.

## CreateMultiplexer {#createmultiplexer-816f138b}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.redis/orleans.configuration.redisstreamingoptions/properties/createmultiplexer-816f138b/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Redis/Orleans.Streaming.Redis/Streams/RedisStreamingOptions.cs)

```csharp
public Func<RedisStreamingOptions, Task<(IConnectionMultiplexer Multiplexer, bool IsShared)>> RedisStreamingOptions.CreateMultiplexer
```

The delegate used to create a Redis connection multiplexer and indicate whether it is shared.

## EntryExpiry {#entryexpiry-7d21f532}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.redis/orleans.configuration.redisstreamingoptions/properties/entryexpiry-7d21f532/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Redis/Orleans.Streaming.Redis/Streams/RedisStreamingOptions.cs)

```csharp
public TimeSpan? EntryExpiry
```

Entry expiry, null by default. A value should be set ONLY for ephemeral environments (like in tests). Setting a value different from null will cause stream entries and related checkpoint keys to be deleted after the configured period of time.

## MaxStreamLength {#maxstreamlength-d94d9c92}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.redis/orleans.configuration.redisstreamingoptions/properties/maxstreamlength-d94d9c92/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Redis/Orleans.Streaming.Redis/Streams/RedisStreamingOptions.cs)

```csharp
public long? MaxStreamLength
```

Gets or sets the maximum number of stream entries to retain. When null, Redis stream length is unbounded.

## UseApproximateMaxLength {#useapproximatemaxlength-4121edc0}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.redis/orleans.configuration.redisstreamingoptions/properties/useapproximatemaxlength-4121edc0/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Redis/Orleans.Streaming.Redis/Streams/RedisStreamingOptions.cs)

```csharp
public bool UseApproximateMaxLength
```

Gets or sets a value indicating whether Redis should use approximate trimming when [RedisStreamingOptions](/orleans/docs/api/csharp/microsoft.orleans.streaming.redis/orleans.configuration.redisstreamingoptions/) is configured.
