kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Stein <joe.st...@stealth.ly>
Subject Re: rule to set number of brokers for each server
Date Fri, 28 Nov 2014 17:41:10 GMT
Unless you are using some containerized implementation setting more than
one broker on a server is likely going defeat some of the benefit Kafka
brings with how it leverages page cache (more on that here
https://kafka.apache.org/documentation.html#maximizingefficiency). You also
need to think about competing for the disk usage too.

If this is just for testing development then having more than 3 brokers
allows you to play with more failure and operation maintenance
https://kafka.apache.org/documentation.html#basic_ops scenarios (especially
if you set replication=3).

 Joe Stein
 Founder, Principal Consultant
 Big Data Open Source Security LLC
 Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>

On Fri, Nov 28, 2014 at 12:24 PM, Sa Li <salicn@gmail.com> wrote:

> Dear all
> I am provision production kafka cluster, which has 3 servers, I am
> wondering how many brokers I should set for each servers, I set 3 brokers
> in dev clusters, but I really don't what is the advantages to set more than
> 1 broker for each server, what about 1 broker for each server, totally 3
> brokers, instead of 9 brokers.
> thanks
> --
> Alec Li

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message