jiafu1115 opened a new pull request, #20913:
URL: https://github.com/apache/kafka/pull/20913

   Currently, Kafka uploads all non-active local log segments to remote storage 
even when they are still within the local retention period, resulting in 
redundant storage of the same data in both tiers. This wastes storage capacity 
and network bandwidth without providing immediate benefits, since reads during 
the retention window prioritize local data.
   
   However, some users rely on remote storage for real-time analytics and need 
the latest data to be available as soon as possible. Therefore, this 
optimization is offered as an optional configuration rather than the default 
behavior.
   
   <img width="797" height="520" alt="image" 
src="https://github.com/user-attachments/assets/be6725f1-02e7-4b09-aea9-7ce3bbb5e227";
 />
   


-- 
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