Re: kafka replication blog

2013-02-11 Thread Michal Haris
Thanks Jun, makes sense. On Feb 8, 2013 4:00 PM, Jun Rao jun...@gmail.com wrote: That's right. If you are partitioning by key, that means you insist a message has to go to a certain partition, whether it's available or not. So, if a partition is not available, we will drop the message for the

Re: Consumer re-design and Python

2013-02-11 Thread David Arthur
On 1/31/13 3:30 PM, Marc Labbe wrote: Hi, I am fairly new to Kafka and Scala, I am trying to see through the consumer re-design changes, proposed and implemented for 0.8 and after, which will affect other languages implementations. There are documentation pages on the wiki, JIRA issues but I

Producers errors when failing a broker in a replicated 0.8 cluster.

2013-02-11 Thread Bob Jervis
We are in final testing of Kafka and so far the fail-over tests have been pretty encouraging. If we kill (-9) one of two kafka brokers, with replication factor=2 we see a flurry of activity as the producer fails and retries its writes (we use a bulk, synchronous send of 1000 messages at a

InvalidMessageSizeException

2013-02-11 Thread Manish Khettry
One of our consumers keeps getting an invalid message size exception. I'm pretty sure that we don't have a message size this big (1.7G). We have two other consumer groups consuming messages from the same Kafka instance happily over the last few days. Since we keep the logs around for a fixed

Changing replication factors in 0.8.

2013-02-11 Thread Bob Jervis
In testing our 0.8 cluster, we started by just using the sample server.properties file that ships with 0.8 and tweaking it. The replication factor property did not have an exemplar in the file, so we didn't include it. Naturally, the cluster did not do replication. After sending some data

Re: Producers errors when failing a broker in a replicated 0.8 cluster.

2013-02-11 Thread Jun Rao
Bob, In 0.8, if you send a set of messages in sync mode, the producer will throw back an exception if at least one message can't be sent to the broker after all retries. The client won't know which messages are sent successfully and which are not. We do plan to improve the producer API after 0.8

Re: Changing replication factors in 0.8.

2013-02-11 Thread Jun Rao
Bob, We do plan to support changing replication factors online in the future. This will be a post 0.8 feature though. Thanks, Jun On Mon, Feb 11, 2013 at 9:32 AM, Bob Jervis bjer...@visibletechnologies.com wrote: In testing our 0.8 cluster, we started by just using the sample