confluentinc / confluentinc/confluent-kafka-javascript

any way to get the librdkafka statistics from a promisified api?

Open
#279 4 comments 0 reactions 0 assignees View on GitHub
enhancement status:planned
Dominant language
TypeScript
Stars
304
Forks
45
Avg merge
11h 47m
Merged PRs (30d)
5

Description

stats_cb does not seem to be supported. Is there a particular reason for this or just simple matter of coding?

Other than implementing that is there any other way to get the statistics? I'm mostly interested in queue sizes, transmitted messages and errors per topic. KIP-714 which I think can be configured for librdkafka, on a quick read, does not seem to include these, but maybe I'm mistaken. Having locally exported metrics would also allow adding [custom/pod specific labels to the metrics](https://github.com/confluentinc/librdkafka/discussions/4799)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.