Backport of #226 "Fix aggregator replication factor setting" to 0.9.x
Fixes #265
Merge pull request #296 from deniszh/0.9.x_aggregator_fix

Backport of #226 "Fix aggregator replication factor setting" to 0.9.x