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

Confusion on start time in consuming via gNMI Subscribe #592

Open
roshan-joyce-fujitsu opened this issue Jul 5, 2024 · 0 comments
Open

Comments

@roshan-joyce-fujitsu
Copy link

Sec 6.3.3 says the following:

image

What does it mean the "time the record was sent"?

Shouldn't this be the time at which the record was created in the server (close to the time at which the measurement was taken).
In the case of other streams defined in TR548, a similar thing is achieved by using "token" in each record and expecting the client to keep track of the last token it has consumed; and in case of reconnection, the client specifes the token from which the server has to send again. And the server can use the information in the token to identify a specific position in the log that provides the stream.

It will be good to maintain the same concept for gNMI subscriptions also. That is, use the start time to identify a specific position in the log and start sending from there. In this case, the specified time has to be correlated to a position in the log and this position will depend on when the record was created in the log and not when the record was sent previously to any consumer.

It will be problematic for the server to keep track of when each record is sent to the consuming client.

CC: @nigel-r-davis , @amazzini

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

1 participant