# EventHubOptions.ConfigureEventHubConnection(string, string, string)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.configuration.eventhuboptions/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.configuration.eventhuboptions/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubStreamOptions.cs#L49-L60)

```csharp
public void ConfigureEventHubConnection(string connectionString, string eventHubName, string consumerGroup)
```

Configures the Azure Event Hub connection using the provided connection string.

### Parameters

- `connectionString` (`string`)
- `eventHubName` (`string`)
- `consumerGroup` (`string`)
