I ended up coding against the new one, org.apache.kafka.clients.producer.Producer, though it is not yet in production here. It might be slightly more painful to select a partition since there isn't a place to plug in a partitioner class, but overall it was quite easy and had the key feature of an Async callback.
Christian On 06/23/2014 04:54 PM, Guozhang Wang wrote: > Hi Kyle, > > We have not fully completed the test in production yet for the new > producer, currently some improvement jiras like KAFKA-1498 are still open. > Once we have it stabilized in production at LinkedIn we plan to update the > wiki in favor of the new producer. > > Guozhang > > > On Mon, Jun 23, 2014 at 3:39 PM, Kyle Banker <kyleban...@gmail.com> wrote: > >> As of today, the latest Kafka docs show kafka.javaapi.producer.Producer in >> their example of the producer API ( >> https://kafka.apache.org/documentation.html#producerapi). >> >> Is there a reason why the latest producer client >> (org.apache.kafka.clients.producer.Producer) >> isn't mentioned? Is this client not preferred or production-ready? >> > > >
signature.asc
Description: OpenPGP digital signature