broker needs to know the replication factor per partition; patched by Yang Ye; reviewed by Jun Rao; kafka-510