Add to your Orleans server configuration file
<SystemStore SystemStoreType="Custom" DataConnectionString="host=localhost;datacenter=dc1;index=orleans_reminders"
MembershipTableAssembly="Pk.OrleansUtils.Consul"
DeploymentId="DevHost"
ReminderTableAssembly="..."
DataConnectionStringForReminders="..."
/>
Orleans clients can use following configuration
<ClientConfiguration xmlns="urn:orleans">
<SystemStore SystemStoreType="Custom"
DeploymentId="DevHost"
CustomGatewayProviderAssemblyName="Pk.OrleansUtils.Consul"
DataConnectionString="host=localhost;datacenter=dc1"
/>
</ClientConfiguration>
Add to your Orleans server configuration file following elements
<StorageProviders>
<!-- .... -->
<Provider Type="Pk.OrleansUtils.ElasticSearch.ElasticStorageProvider" Name="Default" DataConnectionString="index=orleans;Host=localhost" />
<!-- .... -->
</StorageProviders>
<SystemStore SystemStoreType="Custom"
ReminderTableAssembly="Pk.OrleansUtils.ElasticSearch"
DeploymentId="DevHost"
DataConnectionStringForReminders="host=localhost;datacenter=dc1;index=orleans_reminders"
/>
Due to some limitations in Orleans 1.0.10, DataConnectionStringForReminders is exact copy of DataConnectionString if you configure it via configuration file.
It has been eliminated by dotnet/orleans#925