Allow specifying default replication factor

Change-Id: I2a735617be0bac356833eaa4ee6330a6b92d0eba