aggregateId
field with a modulo operation.partitionCount
and partitionNumber
.partitionCount
parameter specifies the total number of partitions and the partitionNumber
parameter specified which partition to return in the response.partitionNumber
is zero based, i.e. the first partition will be 0
.