Package com.opencqrs.framework.eventhandler.partitioning
package com.opencqrs.framework.eventhandler.partitioning
Contains components for dealing with partitioned event handling.
-
ClassDescriptionDefault implementation of
PartitionKeyResolverwhich usesCRC32checksums and modulo operation to derive partition numbers from event sequence identifiers.Sealed base interface for inheritedFunctionalInterfacevariants encapsulating the logic to derive a sequence identifier for an event.FunctionalInterfaceto be implemented, if an event's sequence identifier can only be derived from a fully upcasted and deserialized Java event object.FunctionalInterfaceto be implemented, if an event's sequence identifier can be derived from a rawEvent, that is without any upcasting or Java object deserialization.EventSequenceResolver.ForRawEventimplementation to be used if no event sequencing is required, i.e.Interface for implementations able to consistently derive a numeric partition key from an event sequence identifier.EventSequenceResolver.ForRawEventimplementation which reduced theEvent.subject()path and reduces it to a configurable level, i.e.EventSequenceResolver.ForRawEventimplementation which usesEvent.subject()as the event sequence identifier.