Be aware that the old producer and new producer have different partitioning 
algorithms:
http://mail-archives.apache.org/mod_mbox/kafka-users/201504.mbox/%3C4A6E5F2C-232E-4288-8F9F-3F9D9AE05718%40tivo.com%3E

This could bite you if you rely on key-based partitioning and are switching 
from the old producer to the new producer.

Siva, this is less important for you, since you are starting to use kafka for 
the first time. And this is not important at all if you provide your own 
partitioning algorithm.

-James

On Jul 17, 2015, at 1:23 PM, Sivananda Reddy <sivananda2...@gmail.com> wrote:

> Hi Jay,
> 
> I found it here:
> http://kafka.apache.org/documentation.html#newproducerconfigs, the same
> link is reported by James.
> 
> @Joel: Thanks a lot for the info, I will use new producer
> 
> Regards,
> Siva.
> 
> On Fri, Jul 17, 2015 at 12:02 PM, James Cheng <jch...@tivo.com> wrote:
> 
>> http://kafka.apache.org/documentation.html, Section 3.4.
>> 
>>> 3.4 New Producer Configs
>>> 
>>> We are working on a replacement for our existing producer. The code is
>> available in trunk now and can be considered beta quality. Below is the
>> configuration for the new producer.
>> 
>> Sivananda might have seen it elsewhere, but this is where I found it.
>> 
>> -James
>> 
>> On Jul 17, 2015, at 9:49 AM, Jay Kreps <j...@confluent.io> wrote:
>> 
>>> Hey Sivananda,
>>> 
>>> That's actually no longer true and likely a documentation bug. Where did
>>> you see that?
>>> 
>>> -Jay
>>> 
>>> On Fri, Jul 17, 2015 at 9:35 AM, Sivananda Reddy <
>> sivananda2...@gmail.com>
>>> wrote:
>>> 
>>>> Hi,
>>>> 
>>>> Kafka document ion says that the new producer is in Beta state, how
>> safe is
>>>> it to use the new producer in production?. This is the first time I am
>>>> using Kafka for my application messaging needs. Please let me know.
>>>> 
>>>> Thank you,
>>>> Siva.
>>>> 
>> 
>> 

Reply via email to