Interface PartitionKeyResolver
- All Known Implementing Classes:
DefaultPartitionKeyResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for implementations able to derive a consistently derive a numeric partition key from an event sequence
identifier.
- See Also:
-
Method Summary
-
Method Details
-
resolve
Deterministically resolves a partition number for the given sequence identifier.- Parameters:
sequenceId
- the event sequence identifier, as derived fromEventSequenceResolver
implementations- Returns:
- the partition number
-