Interface IPartitionKeyExtractorStrategy
Strategy for extracting a partition key from a Message.
Namespace: Steeltoe.Stream.Binder
Assembly: Steeltoe.Stream.Abstractions.dll
Syntax
public interface IPartitionKeyExtractorStrategy
Methods
| Edit this page View SourceExtractKey(IMessage)
Extract the partition key from the incoming message
Declaration
object ExtractKey(IMessage message)
Parameters
Type | Name | Description |
---|---|---|
IMessage | message | the message to process |
Returns
Type | Description |
---|---|
System.Object | the key |