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

Add support for get_watermark_offsets #648

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

mattusifer
Copy link

@mattusifer mattusifer commented Jan 21, 2024

Note: Currently based on #647 to pull in the regression fix

This PR adds a new consumer function - get_watermark_offsets - which leverages the get_watermark_offsets librdkafka binding to return the last known watermark values for a topic/partition. This is essentially a much more efficient version of query_watermark_offsets, which requires a network call to the broker, with some caveats (described in the docs for the get_watermark_offsets method).

@mattusifer mattusifer changed the title Add get watermark offsets Add support for get_watermark_offsets Jan 22, 2024
@mattusifer mattusifer marked this pull request as ready for review May 23, 2024 18:09
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

Successfully merging this pull request may close these issues.

None yet

2 participants