hsy541@...> 2013-10-14, 22:02
Neha Narkhede 2013-10-14, 23:46
Thank you, but can you give an example of CreateTopicCommand.createTopic()
and is it sync or async?
On Mon, Oct 14, 2013 at 4:45 PM, Neha Narkhede <[EMAIL PROTECTED]>wrote:
> In 0.8, the only programmatic way, other than create topic, is to use
> CreateTopicCommand.createTopic(). This is probably something we can improve
> in the forthcoming releases.
> On Mon, Oct 14, 2013 at 3:02 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > Hi kafka,
> > Is there a programmatic way to create topic.
> > is toooooo hacky, plus it's not a sync function.
> > I'm asking this because I'm writing a test case which will start kafka
> > server, create topic, produce and consume some message(in separate
> > But it fails some time because producer start to produce before the
> > is created. The auto topic creation property won't work either because
> > consumer may start get TopicMeta data before the topic is created.
> > Thanks!
> > Best,
> > Siyuan
Neha Narkhede 2013-10-15, 00:00