Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Using AdminClient#alterConfigs, topic retention.ms property can be assigned to a value less than -1. This leads to inconsistency while describing the topic configuration. We should not allow values less than -1. In server.properties, if log.retention.ms configured to a value less than zero, it's set as -1.
This doesn't create any issue in log segment deletion, as the condition for infinite log retention checks for value less than zero. To maintain consistency, we should add the validation check.
Attachments
Issue Links
- links to