I am looking for good example code for terracotta. Especially around using master/worker pattern. In particular using custom routing (we like, but would like to use some strick data affinity type routing - ie. one worker looks after a set of task types ).
Also examples or experience setting up masters and topologies would be great also.