Skip to content

[Feature]: Add Support for Pagination and Filtering #51

@DivyaChinthala

Description

@DivyaChinthala

Feature Description

Hi Team,

I am currently using the SolclientJS library and noticed that there is no built-in support for pagination and filtering when retrieving data (e.g., messages, queues, or other resources).

When a queue contains a large number of messages, fetching the entire dataset takes a significant amount of time and can negatively impact performance. This becomes especially challenging for applications that need to display or process data in real time. Implementing pagination would allow data to be retrieved in smaller chunks, improving efficiency and responsiveness.

Request
It would be very helpful if the library could support:
Pagination (e.g., limit, offset, or cursor-based mechanisms)
Filtering capabilities (e.g., based on attributes, timestamps, message properties, etc.)
Benefits
Improved performance when dealing with large queues and message volumes
Reduced latency by avoiding full data fetches
Lower network and memory consumption
Better scalability for real-time applications
Enhanced developer experience

Additional Context

If there are any existing workarounds or recommended approaches, please let us know.

Thanks for considering this feature request!

Use Case

In our application, we need to fetch and display large sets of queue messages in a paginated UI with filtering options. Currently, we must retrieve all messages and apply filtering/pagination on the client side, which is inefficient and time-consuming.

Proposed Solution

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions