# HashRingBasedPartitionedStreamQueueMapper

Package: [Microsoft.Orleans.Streaming](/orleans/docs/api/csharp/microsoft.orleans.streaming/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Streaming) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/QueueAdapters/HashRingBasedStreamQueueMapper.cs#L71)

```csharp
public sealed class HashRingBasedPartitionedStreamQueueMapper : HashRingBasedStreamQueueMapper
```

Queue mapper that tracks which partition was mapped to which QueueId

## Constructors

- [HashRingBasedPartitionedStreamQueueMapper(IReadOnlyList&lt;string&gt;, string)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.hashringbasedpartitionedstreamqueuemapper/constructors/constructor-system-collections-generic-ireadonlylist-string-string-1c865c7e/)

## Methods

- [QueueToPartition(QueueId)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.hashringbasedpartitionedstreamqueuemapper/methods/queuetopartition-orleans-streams-queueid-812184c5/)
