Interface IPartitionKeyExtractorStrategy
- Namespace
- Steeltoe.Stream.Binder
- Assembly
- Steeltoe.Stream.Abstractions.dll
Strategy for extracting a partition key from a Message.
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public interface IPartitionKeyExtractorStrategy : IServiceNameAware
- Inherited Members
Methods
ExtractKey(IMessage)
Extract the partition key from the incoming message
object ExtractKey(IMessage message)
Parameters
messageIMessagethe message to process
Returns
- object
the key