Skip to content

Add option to store saved filters on the filesystem in detriment of in memory cache #770

Open
@lmirandabrochado

Description

@lmirandabrochado

Issue submitter TODO list

  • I've searched for an already existing issues here
  • I'm running a supported version of the application which is listed here and the feature is not present there

Is your proposal related to a problem?

Yes.

I'm constantly using kafbat containers for local testing and, with the most recent upgrades, I noticed that kafbat started storing the saved filters in memory cache, along with the already existing localstorage.

I also noticed that, in addition to the smart filters being stored in memory, there's also the need to post the filterCode value to the /api/clusters/<cluster-name>/topics/<topic-name>/smartfilters endpoint, to have it linked to the browser's local storage.

The flow of operations I need to do on a daily basis to setup filters over and over again increased a lot, and doing simple test cases is getting too cumbersome, as I updated almost all my instances from provectus/kafka-ui to kafbat/kafka-ui, without taking this change to the filters into consideration.

Describe the feature you're interested in

I'm suggesting adding an alternative form of storing this filters.

Describe alternatives you've considered

I've considered adding a filesystem store option (exclusive for containers) so that these filters can alternatively be stored in the filesystem itself instead of in-memory cache.

Version you're running

2956664

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Review Required

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions