Re: 0.8.1 Java Producer API Callbacks

2014-05-02 Thread Jun Rao
It's beta mostly because it's new. Thanks, Jun On Thu, May 1, 2014 at 10:25 PM, cac...@gmail.com cac...@gmail.com wrote: Thanks, that's quite helpful. According to this post, http://blog.empathybox.com/ , it looks like it will be beta then which seems good enough. Assuming that the beta

Re: 0.8.1 Java Producer API Callbacks

2014-05-02 Thread Neha Narkhede
Hi Christian, As Jun mentioned, the new producer is marked beta since it is new. By 0.9 or even sooner, we'd expect it to be deployed at LinkedIn and a few other companies in a stable state. The APIs, guarantees and features will not change by 0.9, just the stability. Thanks, Neha On Fri, May

Re: 0.8.1 Java Producer API Callbacks

2014-05-02 Thread Jay Kreps
This summary is correct. If you are just starting development now it is probably reasonable to start with the new producer. We would certainly appreciate any feedback on it. My recommendation would be to build the producer off trunk as there were a few bug fixes since 0.8.1.x that are worth

0.8.1 Java Producer API Callbacks

2014-05-01 Thread Christian Csar
I'm looking at using the java producer api for 0.8.1 and I'm slightly confused by this passage from section 4.4 of https://kafka.apache.org/documentation.html#theproducer Note that as of Kafka 0.8.1 the async producer does not have a callback, which could be used to register handlers to catch send

Re: 0.8.1 Java Producer API Callbacks

2014-05-01 Thread Christian Csar
On 05/01/2014 07:22 PM, Christian Csar wrote: I'm looking at using the java producer api for 0.8.1 and I'm slightly confused by this passage from section 4.4 of https://kafka.apache.org/documentation.html#theproducer Note that as of Kafka 0.8.1 the async producer does not have a callback,

Re: 0.8.1 Java Producer API Callbacks

2014-05-01 Thread Jun Rao
The new producer (that supports callbacks) is in trunk. It will be released in 0.8.2. You can look at the java doc of KafkaProducer for the api. Thanks Jun On Thu, May 1, 2014 at 8:43 PM, Christian Csar cac...@gmail.com wrote: On 05/01/2014 07:22 PM, Christian Csar wrote: I'm looking at

Re: 0.8.1 Java Producer API Callbacks

2014-05-01 Thread Neha Narkhede
The javadoc of the new producer is here for now - http://empathybox.com/kafka-javadoc/index.html?kafka/clients/producer/KafkaProducer.html Thanks, Neha On Thu, May 1, 2014 at 9:16 PM, Jun Rao jun...@gmail.com wrote: The new producer (that supports callbacks) is in trunk. It will be released

Re: 0.8.1 Java Producer API Callbacks

2014-05-01 Thread cac...@gmail.com
Thanks, that's quite helpful. According to this post, http://blog.empathybox.com/ , it looks like it will be beta then which seems good enough. Assuming that the beta designation is correct, is that because it won't have as many features/the same flexibility as it's expected to by 0.9? Christian