# RedisJournalStorageOptions Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.journaling.redis/orleans.journaling.redisjournalstorageoptions/)

## CompactionThresholdBytes {#compactionthresholdbytes-4e6397f2}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.journaling.redis/orleans.journaling.redisjournalstorageoptions/properties/compactionthresholdbytes-4e6397f2/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Redis/Orleans.Journaling.Redis/RedisJournalStorageOptions.cs)

```csharp
public long CompactionThresholdBytes
```

Gets or sets the journal length, in bytes, at which [IJournalStorage](/orleans/docs/api/csharp/microsoft.orleans.journaling/orleans.journaling.ijournalstorage/) returns `true`.

## ConfigurationOptions {#configurationoptions-ae1282b2}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.journaling.redis/orleans.journaling.redisjournalstorageoptions/properties/configurationoptions-ae1282b2/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Redis/Orleans.Journaling.Redis/RedisJournalStorageOptions.cs)

```csharp
public ConfigurationOptions? ConfigurationOptions
```

Gets or sets the Redis client configuration.

## CreateMultiplexer {#createmultiplexer-1ea8fca9}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.journaling.redis/orleans.journaling.redisjournalstorageoptions/properties/createmultiplexer-1ea8fca9/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Redis/Orleans.Journaling.Redis/RedisJournalStorageOptions.cs)

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

Gets or sets the delegate used to create the Redis connection multiplexer.

## GetKeyName {#getkeyname-ccd5973e}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.journaling.redis/orleans.journaling.redisjournalstorageoptions/properties/getkeyname-ccd5973e/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Redis/Orleans.Journaling.Redis/RedisJournalStorageOptions.cs)

```csharp
public Func<JournalId, string> GetKeyName
```

Gets or sets the delegate used to convert a journal id to the Redis key name component.

## InitStage {#initstage-6954b402}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.journaling.redis/orleans.journaling.redisjournalstorageoptions/properties/initstage-6954b402/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Redis/Orleans.Journaling.Redis/RedisJournalStorageOptions.cs)

```csharp
public int InitStage
```

Gets or sets the stage of the silo lifecycle when storage should be initialized.

## KeyPrefix {#keyprefix-f8344588}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.journaling.redis/orleans.journaling.redisjournalstorageoptions/properties/keyprefix-f8344588/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Redis/Orleans.Journaling.Redis/RedisJournalStorageOptions.cs)

```csharp
public string? KeyPrefix
```

Gets or sets the Redis key prefix used by the provider.

## ReadChunkSize {#readchunksize-eb559212}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.journaling.redis/orleans.journaling.redisjournalstorageoptions/properties/readchunksize-eb559212/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Redis/Orleans.Journaling.Redis/RedisJournalStorageOptions.cs)

```csharp
public int ReadChunkSize
```

Gets or sets the maximum number of bytes supplied to the journal consumer in each recovery segment.
