# HashRingBasedPartitionedStreamQueueMapper Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.hashringbasedpartitionedstreamqueuemapper/)

## HashRingBasedPartitionedStreamQueueMapper(IReadOnlyList&lt;string&gt;, string) {#constructor-system-collections-generic-ireadonlylist-string-string-1c865c7e}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.hashringbasedpartitionedstreamqueuemapper/constructors/constructor-system-collections-generic-ireadonlylist-string-string-1c865c7e/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/QueueAdapters/HashRingBasedStreamQueueMapper.cs#L81-L87)

```csharp
public HashRingBasedPartitionedStreamQueueMapper(IReadOnlyList<string> partitionIds, string queueNamePrefix)
```

Queue mapper that tracks which partition was mapped to which QueueId

### Parameters

- `partitionIds` (`IReadOnlyList<string>`): List of partitions
- `queueNamePrefix` (`string`): Prefix for QueueIds. Must be unique per stream provider
