Re: retrieving and deleting about topics

2013-01-14 Thread Neha Narkhede
There is one on the SyncProducer and another on the SimpleConsumer, both available through java apis - send(request: kafka.javaapi.TopicMetadataRequest): kafka.javaapi.TopicMetadataResponse Thanks, Neha On Mon, Jan 14, 2013 at 1:25 PM, Jane Wang wrote: > I tried to grep getMetadata from kafka

Re: retrieving and deleting about topics

2013-01-14 Thread Jane Wang
I tried to grep getMetadata from kafka 0.8. However, I failed to find it. does the api belong to a particular of kafka 0.8? Does this getMetadata an api belong to consumer? On Fri, Jan 11, 2013 at 9:04 PM, Jun Rao wrote: > getMetadata

Re: retrieving and deleting about topics

2013-01-11 Thread Jun Rao
In 0.7, we don't have such an api, but you can read all topics directly from ZK. In 0.8, there is a getMetadata Api that returns all topics. Thanks, Jun On Fri, Jan 11, 2013 at 5:17 PM, Jane Wang wrote: > I am new to kafka and would appreciate any suggestions:)= > > In kafka 0.7, is it possibl

retrieving and deleting about topics

2013-01-11 Thread Jane Wang
I am new to kafka and would appreciate any suggestions:)= In kafka 0.7, is it possible for the consumer to obtain all the topics so far written by the broker? If not possible, is there any later version makes this possible? thanks alot!