You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Luke Chen (Jira)" <ji...@apache.org> on 2025/05/09 01:51:00 UTC
[jira] [Resolved] (KAFKA-19209) "index.interval.bytes" config doc should also mention time index
[ https://issues.apache.org/jira/browse/KAFKA-19209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luke Chen resolved KAFKA-19209.
-------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
> "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
> Assignee: ShihYuanLin
> Priority: Major
> Labels: newbie
> Fix For: 4.1.0
>
>
> 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)