Skip to content

Monitor queue size with durable sessions enabled and community version #14407

Closed Answered by ieQu1
GuillermoGarces asked this question in Q&A
Discussion options

You must be logged in to vote

So durable sessions are handled as streams (like in kafka). All messages for a topic goes to the disk, they are persisted inside the builtin db and are kept there until they expire (retention period). Then all subscriber has an iterator (pointer) of the last processed message.

Right.

Current situation is then than there is nothing on the API or even by accessing the filesystem of the emqx server to get information on how many messages are in each stream/topic or which are the current values for each subscriber iterator

Yes, right now there's no such API, but we're planning to add it. Monitoring database size is an important feature. Our current focus is on optimizing throughput of dur…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ieQu1
Comment options

ieQu1 Dec 13, 2024
Collaborator

Answer selected by GuillermoGarces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants