Skip to content

Conversation

@acogoluegnes
Copy link
Contributor

No description provided.

@acogoluegnes acogoluegnes added this to the 4.3.0 milestone Jan 8, 2026
@mergify mergify bot added the make label Jan 8, 2026
acogoluegnes added a commit to rabbitmq/rabbitmq-stream-java-client that referenced this pull request Jan 8, 2026
@acogoluegnes acogoluegnes force-pushed the stream-committed-offset branch from 8353712 to f3e438b Compare January 8, 2026 16:16
The committed offset (offset of the last entry in the stream) is now
available in Osiris. It is used instead of the "committed chunk ID"
where appropriate: to calculate the offset lag and the number of
available messages.

It is more accurate to use the committed offset for the offset lag than
to use the committed chunk ID.
Before: offset lag = committed chunk ID - ID of the last dispatched
chunk
Now: offset lag = committed offset - offset of the last message in the
last dispatched chunk

This commit introduces the stream_committed_offset feature flag to
enable the calculation of the committed offset in Osiris only when all
the nodes have been migrated. The streams need to be restarted as the
feature is enabled when starting the writer and the replicas.

References rabbitmq/osiris#203
When not all counters are wanted, instead of
osiris_counters:overview/1, which loads all the counters.
@acogoluegnes acogoluegnes force-pushed the stream-committed-offset branch from 0c6e8be to 4328a92 Compare January 9, 2026 13:10
@kjnilsson kjnilsson self-requested a review January 12, 2026 09:14
@acogoluegnes acogoluegnes marked this pull request as ready for review January 12, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants