The index file gets a new entry every index.interval.bytes. The index maps logical to physical data and is used to look up messages by logical offset.
Thanks, Neha On Oct 31, 2013 1:50 AM, "Lee, Yeon Ok (이연옥)" <yeono...@ebay.com> wrote: > Hi, all. > > I set a broker’s log directory to ‘/tmp/kafka-logs-1’, > and found that there are 00000000000000000000.index, > 00000000000000000000.log in the directory ‘/tmp/kafka-logs-1/test-0/’. > > Whenever the broker receives some messages, that messages are appended in > the file “00000000000000000000.log”, however, > 00000000000000000000.index file seems to have no-changes at all… is that > correct? > > What’s the cases that ‘*.index’ file get changed, or accessed? > Could I let the brokers run without any ‘*.index’ files? > > >