Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Queue size limiting #74

Open
PhantomRay opened this issue Feb 22, 2022 · 1 comment
Open

Feature request: Queue size limiting #74

PhantomRay opened this issue Feb 22, 2022 · 1 comment

Comments

@PhantomRay
Copy link

PhantomRay commented Feb 22, 2022

hi there,
Is it possible to limit the size of the queue. For example, I'm only interested in last 10 messages of a queue. The queue will hold 10 messages max and old messages will be dumped.

This is common for some queue systems or databases.

Not super important but nice to have.

@PhantomRay PhantomRay changed the title Question: Queue size limiting Feature request: Queue size limiting Feb 22, 2022
@weyoss
Copy link
Owner

weyoss commented Feb 23, 2022

Thank you for creating this issue.

This feature requires some time for analysis. I do not want to introduce any complex layer.

As the number of features grows, the complexity grows, and this message queue won't be anymore a simple message queue.

Keeping this issue open until further update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants