# SubscriptionAttached Fields

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.subscriptionattached/)

## ConsumerGrainId {#consumergrainid-06146555}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.subscriptionattached/fields/consumergrainid-06146555/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Diagnostics/StreamingEvents.cs)

```csharp
public readonly GrainId ConsumerGrainId
```

The grain ID of the consumer.

## StreamId {#streamid-4c9f8107}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.subscriptionattached/fields/streamid-4c9f8107/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Diagnostics/StreamingEvents.cs)

```csharp
public readonly StreamId StreamId
```

The stream ID.

## SubscriptionId {#subscriptionid-bd3f4916}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streaming.diagnostics.streamingevents.subscriptionattached/fields/subscriptionid-bd3f4916/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Diagnostics/StreamingEvents.cs)

```csharp
public readonly Guid SubscriptionId
```

The subscription ID.
