Table of Contents

Class PartitionHandler

Namespace
Steeltoe.Stream.Binder
Assembly
Steeltoe.Stream.StreamBase.dll
public class PartitionHandler
Inheritance
PartitionHandler
Inherited Members

Constructors

PartitionHandler(IExpressionParser, IEvaluationContext, IProducerOptions, IPartitionKeyExtractorStrategy, IPartitionSelectorStrategy)

public PartitionHandler(IExpressionParser expressionParser, IEvaluationContext evaluationContext, IProducerOptions options, IPartitionKeyExtractorStrategy partitionKeyExtractorStrategy, IPartitionSelectorStrategy partitionSelectorStrategy)

Parameters

expressionParser IExpressionParser
evaluationContext IEvaluationContext
options IProducerOptions
partitionKeyExtractorStrategy IPartitionKeyExtractorStrategy
partitionSelectorStrategy IPartitionSelectorStrategy

Properties

PartitionCount

public int PartitionCount { get; set; }

Property Value

int

Methods

DeterminePartition(IMessage)

public int DeterminePartition(IMessage message)

Parameters

message IMessage

Returns

int