Skip to content

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 3 times, most recently from 21c95b9 to 3f74371 Compare August 8, 2024 09:14
@mattusifer
Copy link
Author

Just want to make sure this is didn't get buried. Is someone able to review? cc @davidblewett

@mattusifer mattusifer force-pushed the musifer/add-get-watermark-offsets branch from 3f74371 to 4678e36 Compare September 11, 2025 01:12
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