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
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
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