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 1 commit into
base: master
Choose a base branch
from

Conversation

mattusifer
Copy link

@mattusifer mattusifer commented Jan 21, 2024

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
@mattusifer mattusifer force-pushed the musifer/add-get-watermark-offsets branch from 2202ad8 to 462b758 Compare August 8, 2024 09:03
@mattusifer mattusifer force-pushed the musifer/add-get-watermark-offsets branch 2 times, most recently from 21c95b9 to 3f74371 Compare August 8, 2024 09:14
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.

1 participant