provectus/kafka-ui
View on GitHub[Topics] Retention bytes custom parameter overrides the "Max size on disk in GB" value within Topic
Open
#3270 opened on Jan 26, 2023
good first issuescope/frontendstatus/acceptedtype/bug
Description
Describe the bug (Actual behavior) When user is selecting "Max size on disk in GB" value (10 GB) and then add the Custom parameter "Retention bytes" with any value, after saving and editing the Topic, added custom parameter keeps and "Max size on disk in GB" value returns to "Not Set"
Expected behavior
- If the "Max size on disk in GB" is selected, "Retention bytes" can be removed from Custom parameter dropdown values
- If user lets "Max size on disk in GB" to be "Not set" or select any value (1, 10, 20, 50 GB) and then add the Retention bytes, after Topic save, the value of custom retention bytes can be displayed in "Max size on disk in GB" instead of "Not set"
- Suggested to change "Max size on disk in GB" to be "Max size on disk "
Set up https://www.kafka-ui.provectus.io/
Steps to Reproduce
- Navigate to Topics
- Add required data
- Select "10 GB" for " "Max size on disk in GB"
- Add custom parameter
- Select retention bytes
- Fill value
- Save the Topic
- Press "Edit settings" from 3dot menu
Screenshots
Additional context relates to https://github.com/provectus/kafka-ui/issues/3071