This PR introduces the support for the partition_by option introduced in Commanded 1.4
When a partition function is passed, multiple subscriptions with max_subscriber_count = 1 and the index as a suffix are created.
When an event is received, the partition function is applied and phash2 is used to determine if the subscriber is interested in the event.
This PR introduces the support for the
partition_by
option introduced in Commanded 1.4When a partition function is passed, multiple subscriptions with
max_subscriber_count = 1
and the index as a suffix are created. When an event is received, the partition function is applied andphash2
is used to determine if the subscriber is interested in the event.