You can have more partitions than machines in the cluster, you cannot however have a replication factor that is great than the number of machines in the cluster.
You could easily have a topic with 100 partitions on a 3 node cluster. -Clark Clark Elliott Haskins III LinkedIn DDS Site Reliability Engineer Kafka, Zookeeper, Samza SRE Mobile: 505.385.1484 BlueJeans: https://www.bluejeans.com/chaskins chask...@linkedin.com https://www.linkedin.com/in/clarkhaskins There is no place like 127.0.0.1 On 7/23/14, 2:14 PM, "Kashyap Mhaisekar" <kashya...@gmail.com> wrote: >HI, >Is the maximum no. of partitions for a topic dependent on the no. of >machines in a kafka cluster? >For e.g., if I have 3 machines in a cluster, can I have 5 partitions with >a >caveat that one machine can host multiple partitions for a given topic? > >Regards, >Kashyap