{"id":23115416,"url":"https://github.com/jcaesar/light-kafka-exporter","last_synced_at":"2025-04-04T01:12:07.730Z","repository":{"id":146512293,"uuid":"417024820","full_name":"jcaesar/light-kafka-exporter","owner":"jcaesar","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-14T06:26:09.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T12:43:07.669Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcaesar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-14T07:06:08.000Z","updated_at":"2021-11-14T06:26:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"1f5f8d37-0146-4139-8825-e0f1a45fe712","html_url":"https://github.com/jcaesar/light-kafka-exporter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcaesar%2Flight-kafka-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcaesar%2Flight-kafka-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcaesar%2Flight-kafka-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcaesar%2Flight-kafka-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcaesar","download_url":"https://codeload.github.com/jcaesar/light-kafka-exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247103307,"owners_count":20884023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-17T03:41:18.032Z","updated_at":"2025-04-04T01:12:07.710Z","avatar_url":"https://github.com/jcaesar.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Light Kafka exporter\n\nQuick CLI util and Prometheus exporter for checking your Kafka:\nThe number of records that should be flowing, are they actually flowing?\n\n## The non-quick way\n\nThe proper way of going on about this is to\n * Get the [prometheus/jmx_exporter](https://github.com/prometheus/jmx_exporter)\n * Acquire a `jmx_exporter` configuration file from somewhere\n   * the [\"official\"](https://github.com/prometheus/jmx_exporter/blob/master/example_configs/kafka-2_0_0.yml) one doesn't work that well\n * Pass the `jmx_exporter` as a `-javaagent` via `KAFKA_JMX_OPTS` to `kafka-server-start.sh`\n * Target prometheus to scrape the agent\n * Hope that you can now query badly named metrics like `kafka_…_brokertopicmetrics_messagesinpersec` (Which is not `per sec`. You need to `irate` it.)\n\nNeed to know right now? Have fun restarting your brokers.\n\n## The quick way\n\nThis repeatedly queries the high watermarks of all topics via Kafka's normal listening ports and calculates a flow rate.\nClone and run as\n```\ncargo run -- -b localhost:9092\n```\n\nIf you're looking for prettier output, try [totop](https://github.com/jcaesar/totop).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcaesar%2Flight-kafka-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcaesar%2Flight-kafka-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcaesar%2Flight-kafka-exporter/lists"}