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

KV revision returns seq number instead of key revision #38

Open
AbstractiveNord opened this issue Nov 12, 2024 · 2 comments
Open

KV revision returns seq number instead of key revision #38

AbstractiveNord opened this issue Nov 12, 2024 · 2 comments

Comments

@AbstractiveNord
Copy link

NUI returns message stream sequence number as key revision number, what can confuse an end user. This value is useful, but it's called wrong name.

@pricelessrabbit
Copy link
Collaborator

Currently, the "revision" memaning is the same as the NATS client one (that is in fact an uint64 representing the seq number). To get that value, NUI is using the standard KV Api of jetstream here. What are you expecting instead as "revision"?

@AbstractiveNord
Copy link
Author

AbstractiveNord commented Nov 23, 2024

In UI I see that revision field show sequential number of message in a stream across all keys in KV. Meanwhile, revision of the key is sequential version number of the same key. I'll prepare some MRE in Golang, if mistake isn't on my side.

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

No branches or pull requests

2 participants