provectus/kafka-ui

[Topics] Retention bytes custom parameter overrides the "Max size on disk in GB" value within Topic

Open

#3,270 建立於 2023年1月26日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)Java (7,799 star) (977 fork)batch import
good first issuescope/frontendstatus/acceptedtype/bug

描述

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

  1. Navigate to Topics
  2. Add required data
  3. Select "10 GB" for " "Max size on disk in GB"
  4. Add custom parameter
  5. Select retention bytes
  6. Fill value
  7. Save the Topic
  8. Press "Edit settings" from 3dot menu

Screenshots

https://user-images.githubusercontent.com/104780608/214736529-8e872422-685b-4eb4-92fe-09d74d64d03c.mov

Additional context relates to https://github.com/provectus/kafka-ui/issues/3071

貢獻者指南