Re: Producing to a random partition

2012-07-18 Thread Neha Narkhede
In 0.8, we support producing to a random partition if the key for produce request is null. In this case, the producer picks a random partition to send the messages to. I agree that this functionality should not be in the log manager (it isn't in 0.8 AFAICT). What do you want to delete fro

Producing to a random partition

2012-07-18 Thread Jay Kreps
Hey guys, We seem to have dropped the functionality to produce to a random partition by setting partition to -1 in 0.8. Presumably this is because we can no longer just choose a partition randomly, but need to pick a partition for which the given broker is a leader. Questions/Comments 1. Not sure