Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka, mail # user - Zookeeper setup


Copy link to this message
-
Re: Zookeeper setup
Philip O'Toole 2013-08-10, 19:33
Jason - thanks. I am sure that extra information will be appreciated.

Of course, when the list gets a message like this one, it helps everyone if it includes details about what has been already done. E.g. "I have read the docs but it is still not clear to me how X works when...". Perhaps Vadim had actually done this.

I particularly enjoyed reading the Kafka design docs, when I first came across them. Hence I always push people to read them if they haven't done so.

Cheers,

Philip

On Aug 10, 2013, at 12:08 PM, Jason Rosenberg <[EMAIL PROTECTED]> wrote:

> Yeah, the basics are there, e.g. in the doc for the zookeeper.connect
> property:
>
> "Specifies the zookeeper connection string in the form
> hostname:port/chroot. Here the chroot is a base directory which is
> prepended to all path operations (this effectively namespaces all kafka
> znodes to allow sharing with other applications on the same zookeeper
> cluster)."
>
> Actually though, I think the docs could be slightly more clear, as past
> confusion on this list will atest.
>
> The confusing part is what to do if you have multiple hosts in your zk
> cluster.  In that case, the '/chroot' is only appended to the end of the
> list of host/port pairs, e.g.:
>
> host1.xyz.com:1234,host2.xyz.com:1234,host3.xyz.com:1234/chroot
>
> This is often not obvious to readers of the docs.
>
> Jason
>
>
>
>
> On Fri, Aug 9, 2013 at 6:29 PM, Philip O'Toole <[EMAIL PROTECTED]> wrote:
>
>> Have you read the docs? They are well written. It's all there, including
>> the paths.
>>
>> Philip
>>
>> On Aug 9, 2013, at 3:24 PM, Vadim Keylis <[EMAIL PROTECTED]> wrote:
>>
>>> I am trying to setup kafka service and connect to zookeeper that would
>> be shared with Other projects. Can someone advice how to configure
>> namespace  in kafka and zookeeper.
>>>
>>> Thanks so much
>>>
>>> Sent from my iPad
>>