# IStreamQueueMapper

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

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Streaming)

```csharp
public interface IStreamQueueMapper
```

The stream queue mapper returns a list of all queues and is also responsible for mapping streams to queues. Implementation must be thread safe.

## Methods

- [GetAllQueues](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.istreamqueuemapper/methods/getallqueues-51eb86f6/)
- [GetQueueForStream(StreamId)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.istreamqueuemapper/methods/getqueueforstream-orleans-runtime-streamid-859fe4c0/)
