[
https://issues.apache.org/jira/browse/KAFKA-20030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18048973#comment-18048973
]
Chia-Ping Tsai commented on KAFKA-20030:
----------------------------------------
*Risks with Internal Topics:* Users should be warned against manually
increasing partitions for internal state topics (e.g.,
{{{}__transaction_state{}}}, {{{}__share_group_state{}}},
{{{}__consumer_offsets{}}}). Doing so can break coordinator mapping logic or
cause state inconsistencies.
> Document considerations and side effects of dynamic partition expansion
> -----------------------------------------------------------------------
>
> Key: KAFKA-20030
> URL: https://issues.apache.org/jira/browse/KAFKA-20030
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Minor
>
> We should update the documentation to list important considerations when
> users dynamically increase the number of partitions for a topic.
> Key points to include:
> # *Key Distribution Changes:* The default partitioner’s mapping logic (e.g.,
> hash of the key) changes when the partition count increases, which may affect
> message ordering for existing keys.
> # *Potential Data Loss with {{{}latest{}}}:* Existing consumers configured
> with {{auto.offset.reset=latest}} might miss messages produced to the new
> partitions during the window between partition creation and consumer
> discovery.
> # *Metadata Propagation Delay:* New partitions are not immediately visible
> to producers and consumers due to metadata refresh intervals.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)