Re: kafka.javaapi.producer.SyncProducer Confusion

2013-04-21 Thread Jun Rao
.com] > Sent: Friday, April 19, 2013 10:20 AM > To: users@kafka.apache.org > Subject: Re: kafka.javaapi.producer.SyncProducer Confusion > > In 0.8, the producer API does not have callbacks to notify you of the > status of the messages. However, I think we want to rethink th

RE: kafka.javaapi.producer.SyncProducer Confusion

2013-04-20 Thread Itai Frenkel
To: users@kafka.apache.org Subject: RE: kafka.javaapi.producer.SyncProducer Confusion >>0.8 has the same DefaultEventHandler logic as 0.7, so can you try to do the >>same in 0.8 ? We will make this easier to achieve in 0.9. The "event.handler" configuration from v0.7 is go

RE: kafka.javaapi.producer.SyncProducer Confusion

2013-04-20 Thread Itai Frenkel
8:09 AM To: users@kafka.apache.org Subject: Re: kafka.javaapi.producer.SyncProducer Confusion >> There must be some way I can extend/hack/fork into the Producer in the async >> background thread in version 0.8 (and not wait until 0.9 is released). For >> example in 0.7, it l

Re: kafka.javaapi.producer.SyncProducer Confusion

2013-04-19 Thread Neha Narkhede
ltEventHandler could do the > trick. Could you give some pointers for 0.8? > > Itai > > -Original Message- > From: Drew Daugherty [mailto:drew.daughe...@returnpath.com] > Sent: Friday, April 19, 2013 7:55 PM > To: users@kafka.apache.org > Subject: RE: kafka.javaapi.prod

RE: kafka.javaapi.producer.SyncProducer Confusion

2013-04-19 Thread Itai Frenkel
Subject: RE: kafka.javaapi.producer.SyncProducer Confusion I would second this request. We would like to gather metrics on the SyncProducer (bytes in/out, messages in/out, time spent in preparing/sending messages, etc.) when we are sending asynchronously. Or would you recommend something like Scala

RE: kafka.javaapi.producer.SyncProducer Confusion

2013-04-19 Thread Drew Daugherty
From: Neha Narkhede [neha.narkh...@gmail.com] Sent: Friday, April 19, 2013 10:20 AM To: users@kafka.apache.org Subject: Re: kafka.javaapi.producer.SyncProducer Confusion In 0.8, the producer API does not have callbacks to notify you of the status of the messages. However, I

Re: kafka.javaapi.producer.SyncProducer Confusion

2013-04-19 Thread Neha Narkhede
apache.org > Subject: Re: kafka.javaapi.producer.SyncProducer Confusion > > Hi Samir, > > In 0.8, we don't have SyncProducer as a public api. You can use > kafka.javaapi.producer.Producer to send the data synchronously or > asynchronously. > > The quick start page is outdate

RE: kafka.javaapi.producer.SyncProducer Confusion

2013-04-19 Thread Itai Frenkel
@kafka.apache.org Subject: Re: kafka.javaapi.producer.SyncProducer Confusion Hi Samir, In 0.8, we don't have SyncProducer as a public api. You can use kafka.javaapi.producer.Producer to send the data synchronously or asynchronously. The quick start page is outdated, and we plan to update a few pages

Re: kafka.javaapi.producer.SyncProducer Confusion

2013-04-19 Thread Swapnil Ghike
Hi Samir, In 0.8, we don't have SyncProducer as a public api. You can use kafka.javaapi.producer.Producer to send the data synchronously or asynchronously. The quick start page is outdated, and we plan to update a few pages soon (before the 0.8 BETA release). In fact, we would love to have contr

kafka.javaapi.producer.SyncProducer Confusion

2013-04-18 Thread Samir Madhavan
Hi, I'm using kafka-0.8 Snapshot. In the quick start, there is an example producer code in which SyncProducer class has been mentioned but when I checked the kafka.javaapi.producer, there is only Producer class and no SyncProducer or ProducerData class. I went through the apache github source cod