Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> [0.8] producing a msg to two brokers...


Copy link to this message
-
Re: [0.8] producing a msg to two brokers...
There is one leader per partition. For details on how to use the 0.8 api,
please see http://kafka.apache.org/08/api.html

Thanks,

Jun
On Wed, May 1, 2013 at 7:11 PM, Rob Withers <[EMAIL PROTECTED]> wrote:

> with topic auto-creation (and no previous topic) and a replication factor
> of
> 2 results in 4 partitions.  They are numbered uniquely and sequentially,
> but
> there are two leaders?  Is it so?  Should we only write to one broker?
>  Does
> it have to be the leader or will the producer get flipped by the zk?
>
>
>
> thanks,
>
> rob
>
>
>
>

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB