A topic can have 1 or more partitions, each of which corresponds to a directory on local storage.
ZK registers for each topic, how many partitions are there and which brokers are those partitions stored. Thanks, Jun On Wed, Jun 20, 2012 at 11:48 AM, Rodenburg, Jeff < jeff.rodenb...@teamaol.com> wrote: > I'm exploring the v0.7 code to understand topics and partitions and how > those are created/managed. I'm trying to understand how cheap/expensive it > is to create/shutdown/manage those items. A few questions: > > > * "Topics" appear to be metadata on partitions, which are the actual > objects in play. Is this accurate? > * What is the relationship between ZK and broker regarding topics and > partitions? > > I'm walking the code sequences now, but some clarification would be > beneficial. > > -j >