[ https://issues.apache.org/jira/browse/KAFKA-6006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin M updated KAFKA-6006: ---------------------------- Description: The replication factor should be set globally in server.properties such that it can be applied by default to all topics/partitions even for topics that are not auto-created. Having the configuration globally will allow consumers/producers have the same setting. One such situation is when consumers are distributed on different servers. The AdminClient interface for creating a new topic would require a change to request the default replication factor, either by changing the argument to Short, thereby allowing null, or designating a special value, e.g. -1. was: The replication factor should be set globally in server.properties such that it can be applied by default to all topics/partitions even for topics that are not auto-created. Having the configuration globally will allow consumers/producers have the same setting. One such situation is when consumers are distributed on different servers. > Default replication factor for all topics/partitions should be set in > server.properties > ---------------------------------------------------------------------------------------- > > Key: KAFKA-6006 > URL: https://issues.apache.org/jira/browse/KAFKA-6006 > Project: Kafka > Issue Type: Improvement > Components: core > Affects Versions: 0.11.0.0 > Reporter: Martin M > > The replication factor should be set globally in server.properties such that > it can be applied by default to all topics/partitions even for topics that > are not auto-created. Having the configuration globally will allow > consumers/producers have the same setting. > One such situation is when consumers are distributed on different servers. > The AdminClient interface for creating a new topic would require a change to > request the default replication factor, either by changing the argument to > Short, thereby allowing null, or designating a special value, e.g. -1. -- This message was sent by Atlassian JIRA (v6.4.14#64029)