Asura7969 opened a new pull request #11548:
URL: https://github.com/apache/kafka/pull/11548


   In the actual production environment, the file size generated by each 
subject partition is different. As a result, the disk usage of the base 
directory is unbalanced.It is not convenient to use the existing script to 
migrate the topic replica(such as kafka-reassign-partitions.sh)
   
   Add Broker-level configuration items:**log.directory.select.strategy**, 
there are two values: **partition** and **size**
   * **partition**: Sort by the number of directories under each base directory 
(log.dirs) (the current version of the new partition creation strategy)
   * **size**: Sort by the size of each directory (log.dirs), the smallest 
directory has the highest allocation right
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to