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 statistics JSON parsing feature #157

Open
phile314 opened this issue Oct 15, 2020 · 0 comments
Open

Add statistics JSON parsing feature #157

phile314 opened this issue Oct 15, 2020 · 0 comments

Comments

@phile314
Copy link
Contributor

Currently the API exposes the statistics callback from rdkafka and provides the full JSON string. As far as I could see, there is no function to parse this into a structured representation. It would be nice to have e.g. an aeson parser for the statistics json.

I am going to implement one for myself anyway to monitor consumer lag, but I was wondering if you would be interested in a PR? Personally I am a bit torn if it should be added to this library. It feels like crucial functionality for using Kafka in production, on the other hand aeson is not a terribly light-weight dependency....

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