Redigera

Dela via


AzureConfigurationExtensions.AddAzureQueueStreamProvider Method

Definition

Overloads

AddAzureQueueStreamProvider(ClientConfiguration, String, String, Int32, String, Int32, PersistentStreamProviderState, PersistentStreamProviderConfig)

Adds a stream provider of type AzureQueueStreamProvider.

AddAzureQueueStreamProvider(ClusterConfiguration, String, String, Int32, String, Int32, PersistentStreamProviderState, PersistentStreamProviderConfig)

Adds a stream provider of type AzureQueueStreamProvider.

AddAzureQueueStreamProvider(ClientConfiguration, String, String, Int32, String, Int32, PersistentStreamProviderState, PersistentStreamProviderConfig)

Adds a stream provider of type AzureQueueStreamProvider.

public static void AddAzureQueueStreamProvider (this Orleans.Runtime.Configuration.ClientConfiguration config, string providerName, string connectionString = default, int numberOfQueues = 8, string deploymentId = default, int cacheSize = 4096, Orleans.Providers.Streams.Common.PersistentStreamProviderState startupState = Orleans.Providers.Streams.Common.PersistentStreamProviderState.AgentsStarted, Orleans.Streams.PersistentStreamProviderConfig persistentStreamProviderConfig = default);
static member AddAzureQueueStreamProvider : Orleans.Runtime.Configuration.ClientConfiguration * string * string * int * string * int * Orleans.Providers.Streams.Common.PersistentStreamProviderState * Orleans.Streams.PersistentStreamProviderConfig -> unit
<Extension()>
Public Sub AddAzureQueueStreamProvider (config As ClientConfiguration, providerName As String, Optional connectionString As String = Nothing, Optional numberOfQueues As Integer = 8, Optional deploymentId As String = Nothing, Optional cacheSize As Integer = 4096, Optional startupState As PersistentStreamProviderState = Orleans.Providers.Streams.Common.PersistentStreamProviderState.AgentsStarted, Optional persistentStreamProviderConfig As PersistentStreamProviderConfig = Nothing)

Parameters

config
ClientConfiguration

The cluster configuration object to add provider to.

providerName
String

The provider name

connectionString
String

The azure storage connection string. If none is provided, it will use the same as in the Globals configuration.

numberOfQueues
Int32

The number of queues to use as partitions.

deploymentId
String

The deployment ID used for partitioning. If none is specified, the provider will use the same DeploymentId as the Cluster.

cacheSize
Int32

The cache size.

startupState
PersistentStreamProviderState

The startup state of the persistent stream provider.

persistentStreamProviderConfig
PersistentStreamProviderConfig

Settings related to all persistent stream providers.

Applies to

AddAzureQueueStreamProvider(ClusterConfiguration, String, String, Int32, String, Int32, PersistentStreamProviderState, PersistentStreamProviderConfig)

Adds a stream provider of type AzureQueueStreamProvider.

public static void AddAzureQueueStreamProvider (this Orleans.Runtime.Configuration.ClusterConfiguration config, string providerName, string connectionString = default, int numberOfQueues = 8, string deploymentId = default, int cacheSize = 4096, Orleans.Providers.Streams.Common.PersistentStreamProviderState startupState = Orleans.Providers.Streams.Common.PersistentStreamProviderState.AgentsStarted, Orleans.Streams.PersistentStreamProviderConfig persistentStreamProviderConfig = default);
static member AddAzureQueueStreamProvider : Orleans.Runtime.Configuration.ClusterConfiguration * string * string * int * string * int * Orleans.Providers.Streams.Common.PersistentStreamProviderState * Orleans.Streams.PersistentStreamProviderConfig -> unit
<Extension()>
Public Sub AddAzureQueueStreamProvider (config As ClusterConfiguration, providerName As String, Optional connectionString As String = Nothing, Optional numberOfQueues As Integer = 8, Optional deploymentId As String = Nothing, Optional cacheSize As Integer = 4096, Optional startupState As PersistentStreamProviderState = Orleans.Providers.Streams.Common.PersistentStreamProviderState.AgentsStarted, Optional persistentStreamProviderConfig As PersistentStreamProviderConfig = Nothing)

Parameters

config
ClusterConfiguration

The cluster configuration object to add provider to.

providerName
String

The provider name

connectionString
String

The azure storage connection string. If none is provided, it will use the same as in the Globals configuration.

numberOfQueues
Int32

The number of queues to use as partitions.

deploymentId
String

The deployment ID used for partitioning. If none is specified, the provider will use the same DeploymentId as the Cluster.

cacheSize
Int32

The cache size.

startupState
PersistentStreamProviderState

The startup state of the persistent stream provider.

persistentStreamProviderConfig
PersistentStreamProviderConfig

Settings related to all persistent stream providers.

Applies to