Kafka, mail # user - Re: 0.8.0 HEAD 3/4/2013 performance jump? - 2013-03-05, 13:30
 Search Hadoop and all its subprojects:

Switch to Plain View
Chris Curtin 2013-03-04, 20:01
Neha Narkhede 2013-03-04, 20:07
Jun Rao 2013-03-05, 06:01
Copy link to this message
Re: 0.8.0 HEAD 3/4/2013 performance jump?
Hi Jun,

I wasn't explicitly setting the ack anywhere.

Am I reading the code correctly that in SyncProducerConfig.scala the
DefaultRequiredAcks is 0? Thus not waiting on the leader?

Setting:  props.put("request.required.acks", "1"); causes the writes to go
back to the performance I was seeing before yesterday.

Are you guys open to changing the default to be 1? The MongoDB Java-driver
guys made a similar default change at the end of last year because many
people didn't understand the risk that the default value of no-ack was
putting them in until they had a node failure. So they default to 'safe'
and let you decide what your risk level is vs. assuming you can lose data.



On Tue, Mar 5, 2013 at 1:00 AM, Jun Rao <[EMAIL PROTECTED]> wrote:
Joe Stein 2013-03-05, 14:37
Chris Curtin 2013-03-05, 15:56
Jun Rao 2013-03-05, 16:14
Colin Blower 2013-03-05, 16:19
Chris Curtin 2013-03-05, 16:30
Neha Narkhede 2013-03-05, 16:46
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