Re: Batching at the socket layer

2015-03-10 Thread Corey Nolet
Thanks Jiangie! So what version is considered the "new api"? Is that the javaapi in version 0.8.2?. On Mon, Mar 9, 2015 at 2:29 PM, Jiangjie Qin wrote: > The stickiness of partition only applies to old producer. In new producer > we have the round robin for each message. The batching in new prod

Re: Batching at the socket layer

2015-03-10 Thread tao xiao
org.apache.kafka.clients.producer.Producer is the new api producer On Tue, Mar 10, 2015 at 11:22 PM, Corey Nolet wrote: > Thanks Jiangie! So what version is considered the "new api"? Is that the > javaapi in version 0.8.2?. > > On Mon, Mar 9, 2015 at 2:29 PM, Jiangjie Qin > wrote: > > > The sti

Re: Batching at the socket layer

2015-03-09 Thread Jiangjie Qin
The stickiness of partition only applies to old producer. In new producer we have the round robin for each message. The batching in new producer is per topic partition, the batch size it is controlled by both max batch size and linger time config. Jiangjie (Becket) Qin On 3/9/15, 10:10 AM, "Corey