DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
(3) Kafka admin want to reduce the expansion times for local disk when remote storage down for a long time. after all. The already uploaded segments are eligible for deletion from broker when not enable the feature for topic.
You can check the follow picture ( Configure: 1 day local + 3 day remote. and set the delay to max value: the local retention time/size) to understand the logic:
(a) If the remote storage outage for a short time: no matter if you enable the feature. it don't have difference. . (So if you don't set the delay to max value. you have more time to avoid expansion)
(b) If the remote storage outage for a medium-term time
You will need one extra expansion: the max size is the your saving cost's part. You can think you should return back the save part/redundancy by expansion.
(c) If the remote storage outage for a long time (check the 48 hours' outage example in picture)):
No matter if you enable the feature. you should keep doing expansion due to remote upload failed.
...
