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

Addition of PeekTopic API to client library #706

Open
ijsong opened this issue Feb 15, 2024 · 0 comments
Open

Addition of PeekTopic API to client library #706

ijsong opened this issue Feb 15, 2024 · 0 comments
Assignees

Comments

@ijsong
Copy link
Member

ijsong commented Feb 15, 2024

Background

The Varlog client library currently offers the PeekLogStream API to retrieve the first and last log sequence numbers in a log stream. However, since Varlog provides total ordering within a topic, not a log stream, users often need to find a topic's first and last log sequence numbers instead. At present, there is no direct method to fulfill this requirement.

Necessity

Improvement in user convenience: Given Varlog's characteristic of utilizing the total order of a topic, users frequently wish to know the start and end of a topic. The PeekTopic API can provide this information directly, enhancing the user experience.

Expected Impact

The PeekTopic API will enable users to quickly obtain a topic's first and last log sequence numbers. This will be particularly useful in large-scale data processing and real-time data streaming applications.
By expanding the range of APIs in the Varlog client library, a wider variety of use cases and requirements can be met.

Implementation Considerations

The PeekTopic API must efficiently query the metadata of a topic.
This API should maintain consistency with the existing PeekLogStream API while providing information specific to topics.

@ijsong ijsong self-assigned this Feb 15, 2024
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