> On Oct 16, 2015, at 1:19 PM, Guozhang Wang <wangg...@gmail.com> wrote: > > Replication factor is stored as topic configs that are introduced since > 0.8.1, you can find it in the wiki you mentioned. >
Ah, I didn't notice the /config section. But it still doesn't show the replication factor. [zk: localhost:2181(CONNECTED) 3] get /config/topics/__consumer_offsets {"version":1,"config":{"segment.bytes":"104857600","cleanup.policy":"compact"}} cZxid = 0xc0000017a ctime = Wed Aug 05 22:48:12 UTC 2015 mZxid = 0xc0000017a mtime = Wed Aug 05 22:48:12 UTC 2015 pZxid = 0xc0000017a cversion = 0 dataVersion = 0 aclVersion = 0 ephemeralOwner = 0x0 dataLength = 79 numChildren = 0 I tried that for a number of different topics, and none of them have it. -James > Guozhang > > On Fri, Oct 16, 2015 at 12:33 PM, James Cheng <jch...@tivo.com> wrote: > >> Hi, >> >> Where is the replication factor for a topic stored? It isn't listed at >> https://cwiki.apache.org/confluence/display/KAFKA/Kafka+data+structures+in+Zookeeper. >> But the kafka-topics --describe command returns something. Where is it >> finding that? >> >> Thanks, >> -James >> >> >> ________________________________ >> >> This email and any attachments may contain confidential and privileged >> material for the sole use of the intended recipient. Any review, copying, >> or distribution of this email (or any attachments) by others is prohibited. >> If you are not the intended recipient, please contact the sender >> immediately and permanently delete this email and any attachments. No >> employee or agent of TiVo Inc. is authorized to conclude any binding >> agreement on behalf of TiVo Inc. by email. Binding agreements with TiVo >> Inc. may only be made by a signed written agreement. >> > > > > -- > -- Guozhang ________________________________ This email and any attachments may contain confidential and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments) by others is prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete this email and any attachments. No employee or agent of TiVo Inc. is authorized to conclude any binding agreement on behalf of TiVo Inc. by email. Binding agreements with TiVo Inc. may only be made by a signed written agreement.