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 get_watermark helper function #33

Closed
rapimo opened this issue Mar 26, 2019 · 2 comments
Closed

add get_watermark helper function #33

rapimo opened this issue Mar 26, 2019 · 2 comments
Assignees

Comments

@rapimo
Copy link
Member

rapimo commented Mar 26, 2019

we already query some watermark infos on scanning here

err = rd_kafka_query_watermark_offsets(

What would be great is having some helper function to present this data to the end user

e.g.

SELECT  * FROM kafka_get_watermarks('table_name');
 partition | offset_low | offsset_high
-----------+------------+--------------
         1 |       1001 |         3001
         2 |       1002 |         3002
         3 |       1003 |         3003
         4 |       1004 |         3004
         5 |       1005 |         3005
         6 |       1006 |         3006
         7 |       1007 |         3007
         8 |       1008 |         3008
         9 |       1009 |         3009
        10 |       1010 |         3010
        11 |       1011 |         3011
        12 |       1012 |         3012
(12 rows)
@zilder
Copy link
Contributor

zilder commented Mar 29, 2019

Created a PR for this issue, see #34.

@rapimo
Copy link
Member Author

rapimo commented Jun 26, 2019

closed by #34

@rapimo rapimo closed this as completed Jun 26, 2019
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

2 participants