You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Bryan Baugher <bj...@gmail.com> on 2014/11/18 17:55:50 UTC

Topic Creation

Hi everyone,

I'm looking for the API to create/manager topics. Is this class[1] the one
I should be using? Also what if I'm wanting to create the topic
synchronously?

[1] -
https://github.com/apache/kafka/blob/0.8.1.1/core/src/main/scala/kafka/admin/AdminUtils.scala#L149-L157

Bryan

Re: Topic Creation

Posted by Guozhang Wang <wa...@gmail.com>.
We have a ticket open for making admin tools like topic creation to be
sync: KAFKA-1125 <https://issues.apache.org/jira/browse/KAFKA-1125>

On Tue, Nov 18, 2014 at 9:25 PM, Jun Rao <ju...@gmail.com> wrote:

> Yes, that's the best option for now. The creation is async.
>
> Thanks,
>
> Jun
>
> On Tue, Nov 18, 2014 at 8:55 AM, Bryan Baugher <bj...@gmail.com> wrote:
>
> > Hi everyone,
> >
> > I'm looking for the API to create/manager topics. Is this class[1] the
> one
> > I should be using? Also what if I'm wanting to create the topic
> > synchronously?
> >
> > [1] -
> >
> >
> https://github.com/apache/kafka/blob/0.8.1.1/core/src/main/scala/kafka/admin/AdminUtils.scala#L149-L157
> >
> > Bryan
> >
>



-- 
-- Guozhang

Re: Topic Creation

Posted by Jun Rao <ju...@gmail.com>.
Yes, that's the best option for now. The creation is async.

Thanks,

Jun

On Tue, Nov 18, 2014 at 8:55 AM, Bryan Baugher <bj...@gmail.com> wrote:

> Hi everyone,
>
> I'm looking for the API to create/manager topics. Is this class[1] the one
> I should be using? Also what if I'm wanting to create the topic
> synchronously?
>
> [1] -
>
> https://github.com/apache/kafka/blob/0.8.1.1/core/src/main/scala/kafka/admin/AdminUtils.scala#L149-L157
>
> Bryan
>