Patrik Nordwall
bc34adf624
Test consistent hashing router with cluster router, see #944
...
* Found and fixed issue with NoRouter which is used in the
combination of FromConfig and cluster.enabled=true
* Multi-node test that tests several of the possible
cominations
2012-09-20 12:35:03 +02:00
Björn Antonsson
44f4fdb003
Some optimizations for the ConsistentHashingRouter
2012-09-17 14:52:25 +02:00
Patrik Nordwall
64a1fb0235
Rename a few things, see #944
...
* hashKey
* hashMapping ConsistentHashMapping
* withHashMapper ConsistentHashMapper
2012-09-17 13:24:18 +02:00
Patrik Nordwall
48a0fda991
Java doc sample for consistent hashing router, see #944
...
* Allow return null as undefined ConsistentHashMapping
2012-09-17 11:40:06 +02:00
Patrik Nordwall
d59612609f
Handle FromConfig in withFallback also, see #944
2012-09-17 09:39:35 +02:00
Patrik Nordwall
a4dd6b7547
Support partial function to map message to hash key, see #944
...
* Partial function, ConsistentHashRoute, for Scala API
* withConsistentHashMapping ConsistentHashMapping for
Java API
* Updated documentation
2012-09-14 13:47:58 +02:00
Patrik Nordwall
a515c28e93
Correction, get from ref first, see #944
2012-09-13 22:04:22 +02:00
Patrik Nordwall
5c20c07199
Use tuple to update ConsistentHash and routees together, see #944
2012-09-13 20:44:17 +02:00
Patrik Nordwall
5a90d7198c
Improvements based on review feedback, see #944
2012-09-13 18:06:35 +02:00
Patrik Nordwall
f6dcee423b
Implement ConsistentHashingRouter, see #944
...
* Added trait RouterEnvelope to handle Broadcast and
ConsistentHashableEnvelope in same way, could also be useful
for custom routers
2012-09-11 20:51:09 +02:00