You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by 陈洪海 <hu...@163.com> on 2015/02/04 11:46:01 UTC

How to configure "asynchronous replication"

Hi Kafka,

                The doc mentioned that “Single producer thread, 3x ASYNChronous replication”, how to configure it?  What’s the configuration item?  Or need use async produce api to send?

https://engineering.linkedin.com/kafka/benchmarking-apache-kafka-2-million-writes-second-three-cheap-machines

 

Thanks,

 Chen

 

Re: How to configure "asynchronous replication"

Posted by Joe Stein <jo...@stealth.ly>.
Hi Chen,

Take a look at the quick start
https://kafka.apache.org/documentation.html#quickstart step 3 change
--replication-factor 1 to be --replication-factor 3 would do that. You need
to have at least 3 brokers running live when you do that. You also want to
look at changing your partition count too (same line --partitions).

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

On Wed, Feb 4, 2015 at 5:46 AM, 陈洪海 <hu...@163.com> wrote:

> Hi Kafka,
>
>                 The doc mentioned that “Single producer thread, 3x
> ASYNChronous replication”, how to configure it?  What’s the configuration
> item?  Or need use async produce api to send?
>
>
> https://engineering.linkedin.com/kafka/benchmarking-apache-kafka-2-million-writes-second-three-cheap-machines
>
>
>
> Thanks,
>
>  Chen
>
>