Edit

Share via


SiloEventHubStreamConfigurator Class

Definition

public class SiloEventHubStreamConfigurator : Orleans.Streams.SiloRecoverableStreamConfigurator
type SiloEventHubStreamConfigurator = class
    inherit SiloRecoverableStreamConfigurator
Public Class SiloEventHubStreamConfigurator
Inherits SiloRecoverableStreamConfigurator
Inheritance

Constructors

SiloEventHubStreamConfigurator(String, Action<Action<IServiceCollection>>, Action<Action<IApplicationPartManager>>)

Fields

configureDelegate (Inherited from SiloPersistentStreamConfigurator)
name (Inherited from SiloPersistentStreamConfigurator)

Methods

Configure<TOptions>(Action<OptionsBuilder<TOptions>>) (Inherited from SiloPersistentStreamConfigurator)
ConfigureCachePressuring(Action<OptionsBuilder<EventHubStreamCachePressureOptions>>)
ConfigureCheckpointer<TOptions>(Func<IServiceProvider,String,IStreamQueueCheckpointerFactory>, Action<OptionsBuilder<TOptions>>)
ConfigureComponent<TComponent>(Func<IServiceProvider,String,TComponent>) (Inherited from SiloPersistentStreamConfigurator)
ConfigureComponent<TOptions,TComponent>(Func<IServiceProvider,String,TComponent>, Action<OptionsBuilder<TOptions>>) (Inherited from SiloPersistentStreamConfigurator)
ConfigureEventHub(Action<OptionsBuilder<EventHubOptions>>)
ConfigurePartitionReceiver(Action<OptionsBuilder<EventHubReceiverOptions>>)
TryConfigureDefaults() (Inherited from SiloPersistentStreamConfigurator)

Extension Methods

UseEventHubCheckpointer(SiloEventHubStreamConfigurator, Action<OptionsBuilder<AzureTableStreamCheckpointerOptions>>)
UseAzureDeploymentLeaseBasedBalancer(ISiloPersistentStreamConfigurator, Action<OptionsBuilder<LeaseBasedQueueBalancerOptions>>)

Stream queue balancer that uses Azure deployment information for load balancing. Requires silo running in Azure. This balancer supports queue balancing in cluster auto-scale scenario, unexpected server failure scenario, and try to support ideal distribution

UseClusterConfigDeploymentLeaseBasedBalancer(ISiloPersistentStreamConfigurator, Action<OptionsBuilder<LeaseBasedQueueBalancerOptions>>)
UseConsistentRingQueueBalancer(ISiloPersistentStreamConfigurator)
UseDynamicAzureDeploymentBalancer(ISiloPersistentStreamConfigurator, Nullable<TimeSpan>)

Stream queue balancer that uses Azure deployment information and silo statuses from Membership oracle for load balancing.
Requires silo running in Azure. This Balancer uses both the information about the full set of silos as reported by Azure role code and the information from Membership oracle about currently active (alive) silos and rebalances queues from non active silos.

UseDynamicClusterConfigDeploymentBalancer(ISiloPersistentStreamConfigurator, Nullable<TimeSpan>)
UseStaticAzureDeploymentBalancer(ISiloPersistentStreamConfigurator, Nullable<TimeSpan>)

Stream queue balancer that uses Azure deployment information for load balancing. Requires silo running in Azure. This Balancer uses both the information about the full set of silos as reported by Azure role code but does NOT use the information from Membership oracle about currently alive silos. That is, it does not rebalance queues based on dynamic changes in the cluster Membership.

UseStaticClusterConfigDeploymentBalancer(ISiloPersistentStreamConfigurator, Nullable<TimeSpan>)
ConfigureLifecycle(ISiloPersistentStreamConfigurator, Action<OptionsBuilder<StreamLifecycleOptions>>)
ConfigurePartitionBalancing(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IStreamQueueBalancer>)
ConfigurePartitionBalancing<TOptions>(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IStreamQueueBalancer>, Action<OptionsBuilder<TOptions>>)
ConfigurePullingAgent(ISiloPersistentStreamConfigurator, Action<OptionsBuilder<StreamPullingAgentOptions>>)
ConfigureStreamPubSub(ISiloPersistentStreamConfigurator, StreamPubSubType)
ConfigureCacheEviction(ISiloRecoverableStreamConfigurator, Action<OptionsBuilder<StreamCacheEvictionOptions>>)
ConfigureStatistics(ISiloRecoverableStreamConfigurator, Action<OptionsBuilder<StreamStatisticOptions>>)

Applies to