kafka-ui
kafka-ui copied to clipboard
There is no validation about not accepted filter code within Topic/Messages/filtering
Describe the bug There is no validation about wrong data inputing into filter code for Messages filtering within Topic
Set up https://www.kafka-ui.provectus.io/
Steps to Reproduce
- Navigate to Topics
- Select the Topic
- Turn to Messages
- Add filters
- Fill "Filter code" with any random data ("randomfilter")
- Fill "Display name"
- Save the filter
- Press "Add filter"
- Turn to Saved Filters
Expected behavior The "Filter code" should not accept random data, validation should be shown for using the meaningful filter
Screenshots
https://user-images.githubusercontent.com/104780608/180065743-115861d8-fe45-42c3-b765-c56e44c560b2.mov
we could try validating groovy code