# SiloBuilderExtensions.AddEventHubStreams(ISiloBuilder, string, Action&lt;EventHubOptions&gt;, Action&lt;AzureTableStreamCheckpointerOptions&gt;)

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

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.EventHubs/Hosting/SiloBuilderExtensions.cs#L29-L33)

```csharp
public static ISiloBuilder AddEventHubStreams(this ISiloBuilder builder, string name, Action<EventHubOptions> configureEventHub, Action<AzureTableStreamCheckpointerOptions> configureDefaultCheckpointer)
```

Configure silo to use event hub persistent streams with default check pointer and other settings

### Parameters

- `builder` (`ISiloBuilder`)
- `name` (`string`)
- `configureEventHub` (`Action<EventHubOptions>`)
- `configureDefaultCheckpointer` (`Action<AzureTableStreamCheckpointerOptions>`)
