Redigera

Dela via


ConfigurationExtensions.AddSimpleMessageStreamProvider Method

Definition

Overloads

AddSimpleMessageStreamProvider(ClientConfiguration, String, Boolean, Boolean, StreamPubSubType)

Adds a stream provider of type SimpleMessageStreamProvider

AddSimpleMessageStreamProvider(ClusterConfiguration, String, Boolean, Boolean, StreamPubSubType)

Adds a stream provider of type SimpleMessageStreamProvider

AddSimpleMessageStreamProvider(ClientConfiguration, String, Boolean, Boolean, StreamPubSubType)

Adds a stream provider of type SimpleMessageStreamProvider

public static void AddSimpleMessageStreamProvider (this Orleans.Runtime.Configuration.ClientConfiguration config, string providerName, bool fireAndForgetDelivery = false, bool optimizeForImmutableData = true, Orleans.Streams.StreamPubSubType pubSubType = Orleans.Streams.StreamPubSubType.ExplicitGrainBasedAndImplicit);
static member AddSimpleMessageStreamProvider : Orleans.Runtime.Configuration.ClientConfiguration * string * bool * bool * Orleans.Streams.StreamPubSubType -> unit
<Extension()>
Public Sub AddSimpleMessageStreamProvider (config As ClientConfiguration, providerName As String, Optional fireAndForgetDelivery As Boolean = false, Optional optimizeForImmutableData As Boolean = true, Optional pubSubType As StreamPubSubType = Orleans.Streams.StreamPubSubType.ExplicitGrainBasedAndImplicit)

Parameters

config
ClientConfiguration

The cluster configuration object to add provider to.

providerName
String

The provider name.

fireAndForgetDelivery
Boolean

Specifies whether the producer waits for the consumer to process the event before continuing. Setting this to false is useful for troubleshooting serialization issues.

optimizeForImmutableData
Boolean

If set to true items transfered via the stream are always wrapped in Immutable for delivery.

pubSubType
StreamPubSubType

Specifies how can grains subscribe to this stream.

Applies to

AddSimpleMessageStreamProvider(ClusterConfiguration, String, Boolean, Boolean, StreamPubSubType)

Adds a stream provider of type SimpleMessageStreamProvider

public static void AddSimpleMessageStreamProvider (this Orleans.Runtime.Configuration.ClusterConfiguration config, string providerName, bool fireAndForgetDelivery = false, bool optimizeForImmutableData = true, Orleans.Streams.StreamPubSubType pubSubType = Orleans.Streams.StreamPubSubType.ExplicitGrainBasedAndImplicit);
static member AddSimpleMessageStreamProvider : Orleans.Runtime.Configuration.ClusterConfiguration * string * bool * bool * Orleans.Streams.StreamPubSubType -> unit
<Extension()>
Public Sub AddSimpleMessageStreamProvider (config As ClusterConfiguration, providerName As String, Optional fireAndForgetDelivery As Boolean = false, Optional optimizeForImmutableData As Boolean = true, Optional pubSubType As StreamPubSubType = Orleans.Streams.StreamPubSubType.ExplicitGrainBasedAndImplicit)

Parameters

config
ClusterConfiguration

The cluster configuration object to add provider to.

providerName
String

The provider name.

fireAndForgetDelivery
Boolean

Specifies whether the producer waits for the consumer to process the event before continuing. Setting this to false is useful for troubleshooting serialization issues.

optimizeForImmutableData
Boolean

If set to true items transfered via the stream are always wrapped in Immutable for delivery.

pubSubType
StreamPubSubType

Specifies how can grains subscribe to this stream.

Applies to