-
Notifications
You must be signed in to change notification settings - Fork 107
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
Add latest offset and timestamp to activity stream events #334
Comments
This is actually a bit tricky I think. |
What if we changed the behavior of I suppose that this would make the |
This could work, though the Another option would be to have the metadata leader request this information from the partition leaders, but this introduces failure cases. E.g. what do we do if the RPC times out? Thus there would be no guarantee the information would be present. |
Couldn't the client send the request to all partition leaders? We could also have a |
We would like to add the latest partition message offset and timestamp to pause/resume and readonly activity stream events, and were wondering how to best implement that.
raftNode.applyOperation
returns anApplyFuture
that has aResponse()
that could be used to return this information. The partition leader, whenapplyPauseStream
is called, could return the latest message offset and timestamp. The metadata leader publishes activity stream messages though, so this information has to get to it somehow.Does this seem a good way to implement this feature or is there a simpler solution?
The text was updated successfully, but these errors were encountered: