# HashRingBasedStreamQueueMapper.GetQueueForStream(StreamId)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.hashringbasedstreamqueuemapper/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.hashringbasedstreamqueuemapper/methods/)

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

```csharp
public QueueId GetQueueForStream(StreamId streamId)
```

Gets the queue for the specified stream.

### Parameters

- `streamId` (`StreamId`): The stream identifier.

### Returns

The queue responsible for the specified stream.
