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

ReaderGroup does not expose StreamCut #466

Closed
ShwethaSNayak opened this issue Feb 23, 2024 · 0 comments · Fixed by #465
Closed

ReaderGroup does not expose StreamCut #466

ShwethaSNayak opened this issue Feb 23, 2024 · 0 comments · Fixed by #465
Assignees
Labels
enhancement New feature or request

Comments

@ShwethaSNayak
Copy link
Contributor

Problem description
If Client application crashes and if user wants to continue read the stream from where it left then at present there is no way to get StreamCuts from ReaderGroup.
StreamCuts are set of segment/offset pairs for a single stream that represent a consistent position in the stream.

Suggestions for an improvement
Add API get_streamcut() which returns StreamCut object.
User is expected to call reader_group.get_streamcut() api periodically to get current streamcuts and use them while creating ReaderGroup.

@ShwethaSNayak ShwethaSNayak added the enhancement New feature or request label Feb 23, 2024
@ShwethaSNayak ShwethaSNayak self-assigned this Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant