Luke Chen created KAFKA-19209:
---------------------------------

             Summary: "index.interval.bytes" config doc should also mention 
time index
                 Key: KAFKA-19209
                 URL: https://issues.apache.org/jira/browse/KAFKA-19209
             Project: Kafka
          Issue Type: Improvement
            Reporter: Luke Chen


h4. 
[index.interval.bytes|https://kafka.apache.org/documentation/#topicconfigs_index.interval.bytes]

The config description only says it controls the interval with which we add an 
entry to the offset index. But it also controls the interval of time index[1], 
with some condition[2]. We should make the doc clear.

 

ref:
 # 
https://github.com/apache/kafka/blob/443c01ca80cbeecd8c1b4272742cd5b05f43568e/storage/src/main/java/org/apache/kafka/storage/internals/log/LogSegment.java#L258
 # 
https://github.com/apache/kafka/blob/443c01ca80cbeecd8c1b4272742cd5b05f43568e/storage/src/main/java/org/apache/kafka/storage/internals/log/TimeIndex.java#L173-L183



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to