Redigera

Dela via


AzureConfigurationExtensions.AddAzureQueueStreamProviderV2 Method

Definition

Overloads

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

Adds a stream provider of type AzureQueueStreamProviderV2.

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

Adds a stream provider of type AzureQueueStreamProviderV2.

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

Adds a stream provider of type AzureQueueStreamProviderV2.

public static void AddAzureQueueStreamProviderV2 (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 AddAzureQueueStreamProviderV2 : Orleans.Runtime.Configuration.ClientConfiguration * string * string * int * string * int * Orleans.Providers.Streams.Common.PersistentStreamProviderState * Orleans.Streams.PersistentStreamProviderConfig -> unit
<Extension()>
Public Sub AddAzureQueueStreamProviderV2 (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

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

Adds a stream provider of type AzureQueueStreamProviderV2.

public static void AddAzureQueueStreamProviderV2 (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 AddAzureQueueStreamProviderV2 : Orleans.Runtime.Configuration.ClusterConfiguration * string * string * int * string * int * Orleans.Providers.Streams.Common.PersistentStreamProviderState * Orleans.Streams.PersistentStreamProviderConfig -> unit
<Extension()>
Public Sub AddAzureQueueStreamProviderV2 (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