Hi, Jiunn-Yang,

Thanks for the KIP. A few comments.

1. It's fine to introduce a new value None for cleanup.policy. But now not
all value combinations are valid. For example, None can't be used with
Delete or Compact. It would be useful to document that.
2. What's the behavior during upgrade when an existing config has an empty
list.
3. inWithEmptyCheck: It's not clear what the empty check does. How about
sth like inNonEmpty ?

Thanks,

Jun

On Tue, Apr 15, 2025 at 8:25 AM 黃竣陽 <s7133...@gmail.com> wrote:

> Hello everyone,
>
> I would like to start a discussion on KIP-1161: cleanup.policy shouldn't
> be empty
> <https://cwiki.apache.org/confluence/x/HArXF>
>
> This proposal aims to improve the cleanup.policy configuration. Currently,
> this setting should not be left empty.
> Therefore, there are two proposed improvements:
> 1. Update ValidList to validate whether an empty list is allowed.
> 2. Introduce a new 'none' value for cleanup.policy.
>
> Best Regards,
> Jiunn-Yang

Reply via email to